Last change
on this file since 5508 was 3177, checked in by bastiK, 14 years ago |
Filter: improved selection handling. (Don't allow to select filtered or disabled objects by clicking on them. Don't connect to hidden ways in add mode.)
|
-
Property svn:eol-style
set to
native
|
File size:
312 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.tools;
|
---|
3 |
|
---|
4 | // Used to identify objects that fulfill a certain condition, e.g. when filtering a collection
|
---|
5 | public interface Predicate<T> {
|
---|
6 | // @return whether the object passes the test or not
|
---|
7 | public boolean evaluate(T object);
|
---|
8 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.