return a single result object from the given collection . returns null if 0 result objects found ; throws an exception if more than 1 element found . concode_field_sep PlaceHolder placeHolder concode_field_sep RuntimeException translateIfNecessary concode_elem_sep int intResult concode_elem_sep long longResult concode_elem_sep T uniqueResult concode_elem_sep T requiredSingleResult concode_elem_sep T objectResult concode_elem_sep T requiredUniqueResult
T function ( Collection < T > arg0 ) { int loc0 = ( arg0 != null ? arg0 . loc0 ( ) : 0 ) ; if ( loc0 == 0 ) { return null ; } if ( arg0 . loc0 ( ) > 1 ) { throw new IncorrectResultSizeDataAccessException ( 1 , loc0 ) ; } return arg0 . iterator ( ) . next ( ) ; }