public T get ( String name ) { String lcName = name . toLowerCase ( ) ; for ( T item : collection ) { if ( item . getName ( ) . toLowerCase ( ) . equals ( lcName ) ) { return item ; } } return null ; }
Find for contained element using its name .