Class FilteredCodes
java.lang.Object
org.apache.sis.internal.util.AbstractMap<String,Boolean>
org.apache.sis.referencing.factory.FilteredCodes
A map of authority codes filtered by their type.
This map is used for implementation of
CommonAuthorityFactory.getAuthorityCodes(Class).
Only keys in this map are useful; values are meaningless.- Since:
- 0.7
- Version:
- 0.7
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractMap
AbstractMap.EntryIterator<K,V>, AbstractMap.IteratorAdapter<K, V>, AbstractMap.KeyIterator -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFilteredCodes(Map<String, Class<?>> codes, Class<?> type) Creates a new filtered view over the given authority codes. -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractMap.EntryIterator<String, Boolean> Returns an iterator over the entries to retain.Returns a non-null value if the given code is included in the set.Methods inherited from class AbstractMap
addKey, addValue, clear, containsKey, containsValue, entrySet, equals, getOrDefault, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, valuesMethods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, forEach, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
codes
-
type
The type of spatial reference objects for which the codes are desired.
-
-
Constructor Details
-
FilteredCodes
-
-
Method Details
-
entryIterator
Returns an iterator over the entries to retain. Values in the returned entries are meaningless; only the keys matter.- Specified by:
entryIteratorin classAbstractMap<String,Boolean> - Returns:
- an iterator over the entries in this map, or
null.
-
get
-