All Packages Class Hierarchy This Package Previous Next Index
Interface COM.objectspace.jgl.UnaryPredicate
- public interface UnaryPredicate
- extends Serializable
UnaryPredicate is the interface that must be implemented by all unary predicate objects.
Every UnaryPredicate object must define a single method called execute() that takes
a single object as its argument and returns a boolean. UnaryPredicate objects are often
built to operate on a specific kind of object and must therefore cast the input parameter
in order to process it.
- See Also:
- UnaryFunction, BinaryFunction, BinaryPredicate
-
execute(Object)
- Return the result of executing with a single Object.
execute
public abstract boolean execute(Object object)
- Return the result of executing with a single Object.
- Parameters:
- object - The object to process.
- Returns:
- The result of processing the input Object.
All Packages Class Hierarchy This Package Previous Next Index