Changeset 6452 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2013-12-07T14:47:47+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/Predicate.java
r3177 r6452 2 2 package org.openstreetmap.josm.tools; 3 3 4 // Used to identify objects that fulfill a certain condition, e.g. when filtering a collection 4 /** 5 * Used to identify objects that fulfill a certain condition, e.g. when filtering a collection. 6 * 7 * @param <T> The objects type 8 * @since 3177 9 */ 5 10 public interface Predicate<T> { 6 // @return whether the object passes the test or not 11 12 /** 13 * Determines whether the object passes the test or not 14 * @param object The object to evaluate 15 * @return {@code true} if the object passes the test, {@code false} otherwise 16 */ 7 17 public boolean evaluate(T object); 8 18 }
Note:
See TracChangeset
for help on using the changeset viewer.
