src/main/java/ucar/geoapi/AliasList.java
private static SimpleName alias(final Map<SimpleName,SimpleName> existings, final NameSpace namespace, final String name) {
        if (name == null) {
            return null;
        }
        SimpleName alias = new SimpleName(namespace, name);
        final SimpleName old = existings.putIfAbsent(alias, alias);
        if (old != null) {
            alias = old;                                        // Keep the existing instance.
        }
        return alias;
    }
/**
     * Returns an alias for the given name in the given namespace.
     * This method returns an existing instance if possible.
     *
     * @param  existings  the aliases created up to date. This map is updated by this method.
     * @param  namespace  the alias namespace.
     * @param  name       the alias name in the given namespace.
     * @return an alias for the given name in the given namespace.
     */
Returns an alias for the given name in the given namespace.
This method returns an existing instance if possible.

@param  existings  the aliases created up to date. This map is updated by this method.
@param  namespace  the alias namespace.
@param  name       the alias name in the given namespace.
@return an alias for the given name in the given namespace.
Returns an alias for the given name in the given namespace . This method returns an existing instance if possible . @param existings the aliases created up to date . This map is updated by this method . @param namespace the alias namespace . @param name the alias name in the given namespace . @return an alias for the given name in the given namespace .
private static SimpleName alias(final Map<SimpleName,SimpleName> existings, final NameSpace namespace, final String name) {
        if (name == null) {
            return null;
        }
        SimpleName alias = new SimpleName(namespace, name);
        final SimpleName old = existings.putIfAbsent(alias, alias);
        if (old != null) {
            alias = old;                                        
        }
        return alias;
    }
private static SimpleName alias ( final Map < SimpleName , SimpleName > existings , final NameSpace namespace , final String name ) { if ( name == null ) { return null ; } SimpleName alias = new SimpleName ( namespace , name ) ; final SimpleName old = existings . putIfAbsent ( alias , alias ) ; if ( old != null ) { alias = old ; } return alias ; }
Returns an alias for the given name in the given namespace.
Returns an alias for the given name in the given namespace .
// Keep the existing instance.