|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of UnaryFunction in uk.co.jezuk.mango |
| Methods in uk.co.jezuk.mango that return UnaryFunction | |
static UnaryFunction |
Functions.Identity()
The identity function. |
static UnaryFunction |
Bind.First(BinaryFunction f,
java.lang.Object c)
Adapts a BinaryFunction into a UnaryFunction. |
static UnaryFunction |
Bind.Second(BinaryFunction f,
java.lang.Object c)
Adapts a BinaryFunction into a UnaryFunction. |
static UnaryFunction |
Adapt.Compose(UnaryFunction f,
UnaryFunction g)
Compose is a unary function adaptor. |
static UnaryFunction |
Adapt.Method(java.lang.Object obj,
java.lang.String methodName)
Adapts member functions as UnaryFunction objects, allowing them
to be passed to algorithms. |
static UnaryFunction |
Adapt.Method(java.lang.Class klass,
java.lang.String methodName)
Adapts static member functions as UnaryFunction objects, allowing them
to be passed to algorithms. |
static UnaryFunction |
Adapt.ArgumentMethod(java.lang.String methodName)
Creates a UnaryFunction which will call a method on the
object passed as the argument to UnaryFunction.fn method. |
| Methods in uk.co.jezuk.mango with parameters of type UnaryFunction | |
static void |
Mango.forEach(java.util.Collection collection,
UnaryFunction fn)
Deprecated. The algorithm ForEach applies the function fn to
each element in the iterator sequence. |
static void |
Mango.forEach(java.util.Collection collection,
int start,
int end,
UnaryFunction fn)
Deprecated. |
static void |
Mango.forEach(java.util.List list,
int start,
int end,
UnaryFunction fn)
Deprecated. |
static void |
Mango.forEach(java.util.Iterator iterator,
UnaryFunction fn)
Deprecated. |
static void |
Mango.transform(java.util.Collection collection,
UnaryFunction fn,
java.util.Collection results)
Deprecated. The algorithm Transform applies the function fn to
each element in the iterator sequence. |
static void |
Mango.transform(java.util.Collection collection,
int start,
int end,
UnaryFunction fn,
java.util.Collection results)
Deprecated. |
static void |
Mango.transform(java.util.List list,
int start,
int end,
UnaryFunction fn,
java.util.Collection results)
Deprecated. |
static void |
Mango.transform(java.util.Iterator iterator,
UnaryFunction fn,
java.util.Collection results)
Deprecated. |
static java.util.Iterator |
Mango.TransformIterator(java.util.Iterator iterator,
UnaryFunction transform)
Deprecated. A TransfromIterator applies a to
each element in the sequence, returning the the function result at each step. |
static java.util.Iterator |
Iterators.TransformIterator(java.util.Iterator iterator,
UnaryFunction transform)
A TransfromIterator applies a to
each element in the sequence, returning the the function result at each step. |
static void |
Algorithms.forEach(java.util.Collection collection,
UnaryFunction fn)
The algorithm ForEach applies the function fn to
each element in the iterator sequence. |
static void |
Algorithms.forEach(java.util.Collection collection,
int start,
int end,
UnaryFunction fn)
|
static void |
Algorithms.forEach(java.util.List list,
int start,
int end,
UnaryFunction fn)
|
static void |
Algorithms.forEach(java.util.Iterator iterator,
UnaryFunction fn)
|
static java.util.Collection |
Algorithms.transform(java.util.Collection collection,
UnaryFunction fn,
java.util.Collection results)
The algorithm Transform applies the function fn to
each element in the iterator sequence. |
static java.util.Collection |
Algorithms.transform(java.util.Collection collection,
int start,
int end,
UnaryFunction fn,
java.util.Collection results)
|
static java.util.Collection |
Algorithms.transform(java.util.List list,
int start,
int end,
UnaryFunction fn,
java.util.Collection results)
|
static java.util.Collection |
Algorithms.transform(java.util.Iterator iterator,
UnaryFunction fn,
java.util.Collection results)
|
static UnaryFunction |
Adapt.Compose(UnaryFunction f,
UnaryFunction g)
Compose is a unary function adaptor. |
static BinaryFunction |
Adapt.Compose(BinaryFunction f,
UnaryFunction g1,
UnaryFunction g2)
Compose is a function adaptor. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||