Ignore:
Timestamp:
2013-12-07T14:47:47+01:00 (12 years ago)
Author:
Don-vip
Message:

fix #9360 - listed Values in Enhanced Preferences cannot be removed completely

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/Predicate.java

    r3177 r6452  
    22package org.openstreetmap.josm.tools;
    33
    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 */
    510public 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     */
    717    public boolean evaluate(T object);
    818}
Note: See TracChangeset for help on using the changeset viewer.