public class AuthorityProjections extends Object
| Constructor and Description |
|---|
AuthorityProjections(String authority)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addProjection(Projection projection)
Add the projection to the authority
|
void |
clear()
Clear all projections for the authority
|
int |
count()
Get the count of authority projections
|
String |
getAuthority()
Get the authority
|
Set<String> |
getCodes()
Get the projection codes
|
Projection |
getProjection(long code)
Get the projection for the code
|
Projection |
getProjection(String code)
Get the projection for the code
|
Collection<Projection> |
getProjections()
Get the projections
|
boolean |
hasProjection(long code)
Check if the collection contains a projection for the code
|
boolean |
hasProjection(Projection projection)
Check if the collection contains the projection
|
boolean |
hasProjection(String code)
Check if the collection contains a projection for the code
|
boolean |
isEmpty()
Is the collection empty?
|
void |
remove(long code)
Remove the projection with the code
|
void |
remove(Projection projection)
Remove the projection
|
void |
remove(String code)
Remove the projection with the code
|
public AuthorityProjections(String authority)
authority - coordinate authoritypublic String getAuthority()
public Projection getProjection(long code)
code - coordinate codepublic Projection getProjection(String code)
code - coordinate codepublic boolean hasProjection(Projection projection)
projection - projectionpublic boolean hasProjection(long code)
code - coordinate codepublic boolean hasProjection(String code)
code - coordinate codepublic void addProjection(Projection projection)
projection - projectionpublic void clear()
public void remove(long code)
code - coordinate codepublic void remove(String code)
code - coordinate codepublic void remove(Projection projection)
projection - projectionpublic int count()
public boolean isEmpty()
public Set<String> getCodes()
public Collection<Projection> getProjections()
Copyright © 2020 National Geospatial-Intelligence Agency. All rights reserved.