| Constructor and Description |
|---|
Composite()
Composite instances should NOT be constructed in
standard programming. |
| Modifier and Type | Method and Description |
|---|---|
static <L,R,G,H,T> |
function(BinaryFunction<? super G,? super H,? extends T> f,
BinaryFunction<? super L,? super R,? extends G> g,
BinaryFunction<? super L,? super R,? extends H> h)
Create a composite
|
static <L,R,G,H,T> |
function(BinaryFunction<? super G,? super H,? extends T> f,
UnaryFunction<? super L,? extends G> g,
UnaryFunction<? super R,? extends H> h)
Create a composite
|
static <A,T> CompositeUnaryFunction<A,T> |
function(UnaryFunction<? super A,? extends T> f)
Create a composite UnaryFunction.
|
static <A,X,T> CompositeUnaryFunction<A,T> |
function(UnaryFunction<? super X,? extends T> f,
UnaryFunction<? super A,? extends X> g)
Create a composite UnaryFunction.
|
static <L,R,G,H> UnaryCompositeBinaryPredicate<L,R> |
predicate(BinaryPredicate<? super G,? super H> p,
UnaryFunction<? super L,? extends G> g,
UnaryFunction<? super R,? extends H> h)
Create a composite BinaryPredicate.
|
static <A> CompositeUnaryPredicate<A> |
predicate(UnaryPredicate<? super A> pred)
Create a composite UnaryPredicate.
|
static <A,T> CompositeUnaryPredicate<A> |
predicate(UnaryPredicate<? super T> predicate,
UnaryFunction<? super A,? extends T> function)
Create a composite UnaryPredicate.
|
static <A> CompositeUnaryProcedure<A> |
procedure(UnaryProcedure<? super A> procedure)
Create a composite UnaryProcedure.
|
static <A,T> CompositeUnaryProcedure<A> |
procedure(UnaryProcedure<? super T> procedure,
UnaryFunction<? super A,? extends T> function)
Create a composite UnaryProcedure.
|
public Composite()
Composite instances should NOT be constructed in
standard programming. Instead, the methods of the class should be invoked
statically.
This constructor is public to permit tools that require a JavaBean instance to operate.
public static <A> CompositeUnaryProcedure<A> procedure(UnaryProcedure<? super A> procedure)
public static <A,T> CompositeUnaryProcedure<A> procedure(UnaryProcedure<? super T> procedure, UnaryFunction<? super A,? extends T> function)
public static <A> CompositeUnaryPredicate<A> predicate(UnaryPredicate<? super A> pred)
public static <A,T> CompositeUnaryPredicate<A> predicate(UnaryPredicate<? super T> predicate, UnaryFunction<? super A,? extends T> function)
public static <L,R,G,H> UnaryCompositeBinaryPredicate<L,R> predicate(BinaryPredicate<? super G,? super H> p, UnaryFunction<? super L,? extends G> g, UnaryFunction<? super R,? extends H> h)
L - the output predicate left argument type.R - the output predicate right argument type.G - the input functions left argument type.H - the input functions right argument type.p - BinaryPredicate to test output(f), output(g)g - left UnaryFunctionh - right UnaryFunctionpublic static <A,T> CompositeUnaryFunction<A,T> function(UnaryFunction<? super A,? extends T> f)
A - the function argument type.T - the function returned value type.f - UnaryFunction to apply to the output of gpublic static <A,X,T> CompositeUnaryFunction<A,T> function(UnaryFunction<? super X,? extends T> f, UnaryFunction<? super A,? extends X> g)
A - the function argument type.X - the function argument type.T - the function returned value type.f - UnaryFunction to apply to the output of gg - UnaryFunction to apply firstpublic static <L,R,G,H,T> UnaryCompositeBinaryFunction<L,R,T> function(BinaryFunction<? super G,? super H,? extends T> f, UnaryFunction<? super L,? extends G> g, UnaryFunction<? super R,? extends H> h)
L - the output predicate left argument type.R - the output predicate right argument type.G - the input functions left argument type.H - the input functions right argument type.T - the function returned value type.f - BinaryFunction to apply to output(f), output(g)g - left UnaryFunctionh - right UnaryFunctionpublic static <L,R,G,H,T> BinaryCompositeBinaryFunction<L,R,T> function(BinaryFunction<? super G,? super H,? extends T> f, BinaryFunction<? super L,? super R,? extends G> g, BinaryFunction<? super L,? super R,? extends H> h)
L - the output predicate left argument type.R - the output predicate right argument type.G - the input functions left argument type.H - the input functions right argument type.T - the function returned value type.f - BinaryFunction to apply to output(f), output(g)g - left BinaryFunctionh - right BinaryFunctionCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.