public synchronized Collection < String > getNames ( ) { if ( map == null ) { return Collections . emptySet ( ) ; } return Collections . unmodifiableSet ( new HashMap < String , String > ( map ) . keySet ( ) ) ; }
Returns an unmodifiable collection of the names that can be used to get values of the stanza extension .