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