package org.gcube.common.clients.queries; /** * A callback to filter out {@link Query} results. * * @author Fabio Simeoni * * * @param the type of query results * * @see AbstractQuery * */ public interface ResultMatcher { /** * Returns true if the result should be retained. * @param result the result * @return true if the result should be retained */ boolean match(R result); }