org.gcube.common.clients.queries
Interface ResultMatcher<R>

Type Parameters:
R - the type of query results

public interface ResultMatcher<R>

A callback to filter out Query results.

Author:
Fabio Simeoni
See Also:
AbstractQuery

Method Summary
 boolean match(R result)
          Returns true if the result should be retained.
 

Method Detail

match

boolean match(R result)
Returns true if the result should be retained.

Parameters:
result - the result
Returns:
true if the result should be retained


Copyright © 2012. All Rights Reserved.