public static final boolean matchTypeMap ( Map < String , Class < ? > > m1 , Map < String , Class < ? > > m2 ) { final boolean isTraceOn = TraceComponent . isAnyTracingEnabled ( ) ; if ( isTraceOn && tc . isEntryEnabled ( ) ) Tr . entry ( tc , "matchTypeMap" , new Object [ ] { m1 , m2 } ) ; boolean match = false ; if ( m1 == m2 ) match = true ; else if ( m1 != null && m1 . equals ( m2 ) ) match = true ; if ( isTraceOn && tc . isEntryEnabled ( ) ) Tr . exit ( tc , "matchTypeMap" , match ) ; return match ; }
determines if two typeMaps match . Note that this method takes under account an Oracle 11g change with TypeMap