public boolean containsValue ( Token value , Transaction transaction ) throws ObjectManagerException { try { for ( Iterator iterator = entrySet ( ) . iterator ( ) ; ; ) { Entry entry = ( Entry ) iterator . next ( transaction ) ; Token entryValue = entry . getValue ( ) ; if ( value == entryValue ) { return true ; } } } catch ( java . util . NoSuchElementException exception ) { // No FFDC code needed, just exited search. return false ; } // try. }
Determines if the Map contains the Token