Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Creative commons Attribution-NonCommercial license. NO WARRANTY IS GIVEN OR IMPLIED, USE AT YOUR OWN RISK.
 package base;
Invocation of a Query always returns a collection of QueryResult objects. If a query would return too many results to hold in an array in memory, an implementation of a QueryResultHandler should be used to handle each query result as it is found.

public interface QueryResultHandler<QueryResult> {
	void handle(QueryResult resultthrows IOException;
New to GrepCode? Check out our FAQ X