public boolean shouldRetain ( Object key , Object val ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) tc . entry ( this , cclass , "shouldRetain" , new Object [ ] { key , val } ) ; CacheEntry e = ( CacheEntry ) val ; if ( e . exactMatcher != null ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) tc . exit ( this , cclass , "shouldRetain" , Boolean . TRUE ) ; return true ; } cacheRemoves ++ ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) tc . exit ( this , cclass , "shouldRetain" , Boolean . FALSE ) ; return false ; }
entries that don t have an exactMatcher .