public V findChachedValueOf ( K key ) { // check selection for ( V value : selection ) { if ( getKeyOf ( value ) . equals ( key ) ) { return value ; } } // check data cache for ( V value : getData ( ) ) { if ( getKeyOf ( value ) . equals ( key ) ) { return value ; } } return null ; }
Find value in cached data .