|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use UnaryFunctor | |
---|---|
org.apache.commons.functor | Basic functor interfaces. |
org.apache.commons.functor.adapter | Classes that adapt one functor interface to another. |
org.apache.commons.functor.core | Commonly used functor implementations. |
org.apache.commons.functor.core.algorithm | Various algorithm-esque functors. |
org.apache.commons.functor.core.collection |
Collection -based functors, algorithms and utilities. |
org.apache.commons.functor.core.comparator |
Comparator - and
Comparable -based functors, algorithms and utilities. |
org.apache.commons.functor.core.composite | Functors composed of other functors. |
org.apache.commons.functor.generator.util | Contains utility code for Generators. |
Uses of UnaryFunctor in org.apache.commons.functor |
---|
Subinterfaces of UnaryFunctor in org.apache.commons.functor | |
---|---|
interface |
UnaryFunction<A,T>
A functor that takes one argument and returns an Object value. |
interface |
UnaryPredicate<A>
A functor that takes one argument and returns a boolean value. |
interface |
UnaryProcedure<A>
A functor that takes one argument and returns no value. |
Uses of UnaryFunctor in org.apache.commons.functor.adapter |
---|
Classes in org.apache.commons.functor.adapter that implement UnaryFunctor | |
---|---|
class |
BinaryFunctionUnaryFunction<A,T>
Adapts a BinaryFunction as a UnaryFunction by sending the same argument to both sides of the BinaryFunction. |
class |
BinaryPredicateUnaryPredicate<A>
Adapts a BinaryPredicate as a UnaryPredicate by sending the same argument to both sides of the BinaryPredicate. |
class |
BinaryProcedureUnaryProcedure<A>
Adapts a BinaryProcedure as a UnaryProcedure by sending the same argument to both sides of the BinaryProcedure. |
class |
FunctionUnaryFunction<A,T>
Adapts a Function
to the
UnaryFunction interface
by ignoring the unary argument. |
class |
LeftBoundFunction<A,T>
Adapts a BinaryFunction
to the
UnaryFunction interface
using a constant left-side argument. |
class |
LeftBoundPredicate<A>
Adapts a BinaryPredicate
to the
UnaryPredicate interface
using a constant left-side argument. |
class |
LeftBoundProcedure<A>
Adapts a BinaryProcedure
to the
UnaryProcedure interface
using a constant left-side argument. |
class |
PredicateUnaryPredicate<A>
Adapts a Predicate
to the
UnaryPredicate interface
by ignoring the given argument. |
class |
ProcedureUnaryProcedure<A>
Adapts a Procedure
to the
UnaryProcedure interface
by ignoring the arguments. |
class |
RightBoundFunction<A,T>
Adapts a BinaryFunction
to the
UnaryFunction interface
using a constant right-side argument. |
class |
RightBoundPredicate<A>
Adapts a BinaryPredicate
to the
UnaryPredicate interface
using a constant left-side argument. |
class |
RightBoundProcedure<A>
Adapts a BinaryProcedure
to the
UnaryProcedure interface
using a constant left-side argument. |
class |
UnaryFunctionUnaryPredicate<A>
Adapts a Boolean -valued
UnaryFunction
to the UnaryPredicate
interface. |
class |
UnaryFunctionUnaryProcedure<A>
Adapts a UnaryFunction
to the UnaryProcedure
interface by ignoring the value returned
by the function. |
class |
UnaryPredicateUnaryFunction<A>
Adapts a UnaryPredicate
to the
UnaryFunction interface. |
class |
UnaryProcedureUnaryFunction<A,T>
Adapts a UnaryProcedure
to the
UnaryFunction interface
by always returning null . |
Uses of UnaryFunctor in org.apache.commons.functor.core |
---|
Classes in org.apache.commons.functor.core that implement UnaryFunctor | |
---|---|
class |
Constant<T>
Evaluates to constant value. |
class |
Identity<T>
Evaluates to its input argument. |
class |
IsNotNull<T>
Tests
false iff its argument
is null . |
class |
IsNull<A>
Tests
true iff its argument
is null . |
class |
Limit
A predicate that returns true
the first n times it is invoked. |
class |
NoOp
A procedure that does nothing at all. |
class |
Offset
A predicate that returns false
the first n times it is invoked, and
true thereafter. |
Uses of UnaryFunctor in org.apache.commons.functor.core.algorithm |
---|
Classes in org.apache.commons.functor.core.algorithm that implement UnaryFunctor | |
---|---|
class |
FoldLeft<T>
Functional left-fold algorithm against the elements of a Generator . |
class |
FoldRight<T>
Functional right-fold algorithm against the elements of a Generator . |
Uses of UnaryFunctor in org.apache.commons.functor.core.collection |
---|
Classes in org.apache.commons.functor.core.collection that implement UnaryFunctor | |
---|---|
class |
IsEmpty<A>
|
class |
Size<A>
Returns the size of the specified Collection, or the length of the specified array or String. |
Uses of UnaryFunctor in org.apache.commons.functor.core.comparator |
---|
Classes in org.apache.commons.functor.core.comparator that implement UnaryFunctor | |
---|---|
class |
IsWithinRange<A extends Comparable<A>>
A UnaryPredicate that tests whether a Comparable object is
within a range. |
Uses of UnaryFunctor in org.apache.commons.functor.core.composite |
---|
Classes in org.apache.commons.functor.core.composite that implement UnaryFunctor | |
---|---|
class |
CompositeUnaryFunction<A,T>
A UnaryFunction
representing the composition of
UnaryFunctions ,
"chaining" the output of one to the input
of another. |
class |
CompositeUnaryPredicate<A>
A UnaryPredicate
representing the composition of
UnaryFunctions ,
"chaining" the output of one to the input
of another. |
class |
CompositeUnaryProcedure<A>
A UnaryProcedure
representing the composition of
UnaryFunctions ,
"chaining" the output of one to the input
of another. |
class |
ConditionalUnaryFunction<A,T>
A UnaryFunction
similiar to Java's "ternary"
or "conditional" operator (? : ). |
class |
ConditionalUnaryPredicate<A>
A UnaryPredicate
similiar to Java's "ternary"
or "conditional" operator (? : ). |
class |
ConditionalUnaryProcedure<A>
A UnaryProcedure
similiar to Java's "ternary"
or "conditional" operator (? : ). |
class |
UnaryAnd<A>
Tests true iff
none of its children test false . |
class |
UnaryNot<A>
Tests to the logical inverse
of some other predicate. |
class |
UnaryOr<A>
Tests true iff
at least one of its children test true . |
class |
UnarySequence<A>
A UnaryProcedure
that runs an ordered
sequence of UnaryProcedures . |
Uses of UnaryFunctor in org.apache.commons.functor.generator.util |
---|
Classes in org.apache.commons.functor.generator.util that implement UnaryFunctor | |
---|---|
class |
CollectionTransformer<E>
Transforms a generator into a collection. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |