@ Override public T findOne ( EntityFilter < T > filter ) { for ( T object : findAll ( ) ) { if ( filter . accept ( object ) ) { return object ; } } return null ; }
Retrieves the entity matching the given filter . If several entities matches the first is returned .