@ Nullable @ Override public T get ( String s ) { checkNotNull ( s ) ; checkArgument ( ! s . isEmpty ( ) ) ; for ( T t : supplier . get ( ) ) { if ( t . id ( ) . equals ( s ) ) { return t ; } } return null ; }
Searches for the given id in the supplier .