Class FilteredCodes

java.lang.Object
org.apache.sis.internal.util.AbstractMap<String,Boolean>
org.apache.sis.referencing.factory.FilteredCodes
All Implemented Interfaces:
Map<String,Boolean>

final class FilteredCodes extends AbstractMap<String,Boolean>
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
  • Field Details

    • codes

      final Map<String,Class<?>> codes
      The codes known to the authority factory, associated with their CRS type.
    • type

      final Class<?> type
      The type of spatial reference objects for which the codes are desired.
  • Constructor Details

    • FilteredCodes

      FilteredCodes(Map<String,Class<?>> codes, Class<?> type)
      Creates a new filtered view over the given authority codes.
  • Method Details