Interface Predicate

All Superinterfaces:
All Known Implementing Classes:
PredFigInRect, PredFigNodeInRect, PredicateEquals, PredicateStringMatch, PredicateTrue, PredicateType

public interface Predicate

Interface for objects that act as predicate functions. For example, if you want to find an object in a Set that fits a certain condition, then write a (anonymous?) class that implements predicate and use it in Set.findSuchThat().

Method Summary
 boolean predicate(java.lang.Object obj)

Method Detail


boolean predicate(java.lang.Object obj)