public void iterateAllRegisteredTypeConverters ( @ Nonnull final ITypeConverterCallback aCallback ) { // Create a copy of the map final Map < Class < ? > , Map < Class < ? > , ITypeConverter < ? , ? > > > aCopy = m_aRWLock . readLocked ( ( ) -> new CommonsHashMap <> ( m_aConverter ) ) ; // And iterate the copy outer : for ( final Map . Entry < Class < ? > , Map < Class < ? > , ITypeConverter < ? , ? > > > aSrcEntry : aCopy . entrySet ( ) ) { final Class < ? > aSrcClass = aSrcEntry . getKey ( ) ; for ( final Map . Entry < Class < ? > , ITypeConverter < ? , ? > > aDstEntry : aSrcEntry . getValue ( ) . entrySet ( ) ) if ( aCallback . call ( aSrcClass , aDstEntry . getKey ( ) , aDstEntry . getValue ( ) ) . isBreak ( ) ) break outer ; } }
Iterate all registered type converters . For informational purposes only .