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