public QueryResult < T > first ( ) { if ( response != null && response . size ( ) > 0 ) { return response . get ( 0 ) ; } return null ; }
This method just returns the first QueryResult of response or null if response is null or empty .