blob: de39e5ac1e072e057b8709c1ee8b0b665b9f9576 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
package cgeo.geocaching.filter;
import cgeo.geocaching.Geocache;
import org.eclipse.jdt.annotation.NonNull;
import java.util.List;
public interface IFilter {
String getName();
/**
* @param cache
* @return true if the filter accepts the cache, false otherwise
*/
boolean accepts(@NonNull final Geocache cache);
void filter(@NonNull final List<Geocache> list);
}
|