Class jgl.UnaryComposePredicate
All Packages Class Hierarchy This Package Previous Next Index
Class jgl.UnaryComposePredicate
java.lang.Object
|
+----jgl.UnaryComposePredicate
- public final class UnaryComposePredicate
- extends Object
- implements UnaryPredicate
UnaryCompose is a unary predicate object that returns the result of executing
two operations in a specific sequence.
- See Also:
- UnaryComposePredicate, BinaryCompose
-
UnaryComposePredicate(UnaryPredicate, UnaryFunction)
- Construct myself with a unary predicate object and a unary function object.
-
execute(Object)
- Perform my second unary function on the operand and then return the result of applying
my first unary function object to this result.
UnaryComposePredicate
public UnaryComposePredicate(UnaryPredicate predicate,
UnaryFunction function)
- Construct myself with a unary predicate object and a unary function object.
- Parameters:
- predicate - The predicate object.
- function - The function object.
execute
public boolean execute(Object object)
- Perform my second unary function on the operand and then return the result of applying
my first unary function object to this result.
- Parameters:
- object - The operand.
- Returns:
- predicate( function( object ) )
All Packages Class Hierarchy This Package Previous Next Index