src/main/java/ucar/geoapi/AliasList.java
final <T> void addTo(final Map<String,T> map, final T value) {
        for (int i=0; i<NAME_CAPACITY; i++) {
            final String n;
            switch (i) {
                case 0: n = name;       break;
                case 1: n = name(ogc);  break;
                case 2: n = name(epsg); break;
                default: throw new AssertionError(i);
            }
            if (n != null) {
                final T old = map.put(n, value);
                assert (old == null) || (old == value) : n;
            }
        }
    }
/**
     * Adds the given value to the given map using every name and aliases as the keys, and making
     * sure that there is no key collision. This method is used by {@link NetcdfTransformFactory}
     * constructor only.
     */
Adds the given value to the given map using every name and aliases as the keys, and making
sure that there is no key collision. This method is used by  NetcdfTransformFactory
constructor only.
Adds the given value to the given map using every name and aliases as the keys and making sure that there is no key collision . This method is used by NetcdfTransformFactory constructor only .
final <T> void addTo(final Map<String,T> map, final T value) {
        for (int i=0; i<NAME_CAPACITY; i++) {
            final String n;
            switch (i) {
                case 0: n = name;       break;
                case 1: n = name(ogc);  break;
                case 2: n = name(epsg); break;
                default: throw new AssertionError(i);
            }
            if (n != null) {
                final T old = map.put(n, value);
                assert (old == null) || (old == value) : n;
            }
        }
    }
final < T > void addTo ( final Map < String , T > map , final T value ) { for ( int i = 0 ; i < NAME_CAPACITY ; i ++ ) { final String n ; switch ( i ) { case 0 : n = name ; break ; case 1 : n = name ( ogc ) ; break ; case 2 : n = name ( epsg ) ; break ; default : throw new AssertionError ( i ) ; } if ( n != null ) { final T old = map . put ( n , value ) ; assert ( old == null ) || ( old == value ) : n ; } } }
Adds the given value to the given map using every name and aliases as the keys, and making
 sure that there is no key collision.
Adds the given value to the given map using every name and aliases as the keys and making sure that there is no key collision .