Class UnaryCompositeBinaryPredicate.Helper<G,H,L,R>
- java.lang.Object
-
- org.apache.commons.functor.core.composite.UnaryCompositeBinaryPredicate.Helper<G,H,L,R>
-
- Type Parameters:
G- right function type.H- right function type.L- left function type.R- left function type.
- All Implemented Interfaces:
java.io.Serializable,BinaryFunctor<L,R>,BinaryPredicate<L,R>,Functor
- Enclosing class:
- UnaryCompositeBinaryPredicate<L,R>
private static class UnaryCompositeBinaryPredicate.Helper<G,H,L,R> extends java.lang.Object implements BinaryPredicate<L,R>, java.io.Serializable
Internal helper.
-
-
Field Summary
Fields Modifier and Type Field Description private BinaryPredicate<? super G,? super H>fBinaryPredicate to test output(f), output(g).private UnaryFunction<? super L,? extends G>gleft UnaryFunction.private UnaryFunction<? super R,? extends H>hright UnaryFunction.private static longserialVersionUIDserialVersionUID declaration.
-
Constructor Summary
Constructors Constructor Description Helper(BinaryPredicate<? super G,? super H> f, UnaryFunction<? super L,? extends G> g, UnaryFunction<? super R,? extends H> h)Create a new Helper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleantest(L left, R right)Evaluate this predicate.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
serialVersionUID declaration.- See Also:
- Constant Field Values
-
f
private BinaryPredicate<? super G,? super H> f
BinaryPredicate to test output(f), output(g).
-
g
private UnaryFunction<? super L,? extends G> g
left UnaryFunction.
-
h
private UnaryFunction<? super R,? extends H> h
right UnaryFunction.
-
-
Constructor Detail
-
Helper
public Helper(BinaryPredicate<? super G,? super H> f, UnaryFunction<? super L,? extends G> g, UnaryFunction<? super R,? extends H> h)
Create a new Helper.- Parameters:
f- BinaryPredicate to test output(f), output(g)g- left UnaryFunctionh- right UnaryFunction
-
-