aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/filter/IFilter.java
blob: 4fafe6f441caa02070925c5504cdc94ce908e5b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package cgeo.geocaching.filter;

import cgeo.geocaching.Geocache;

import java.util.List;

public interface IFilter {

    String getName();

    /**
     * @param cache
     * @return true if the filter accepts the cache, false otherwise
     */
    boolean accepts(final Geocache cache);

    void filter(final List<Geocache> list);
}