Uses of Interface
uk.co.jezuk.mango.Function

Uses of Function in uk.co.jezuk.mango
 

Methods in uk.co.jezuk.mango that return Function
static Function Adapt.ArgumentMethod(java.lang.String methodName)
          Creates a Function which will call a method on the object passed as the argument to Function.fn method.
static
<T,Void> Function<T,Void>
Adapt.ArgumentMethod(java.lang.String methodName, java.lang.Class<T> argType)
           
static
<T,R> Function<T,R>
Adapt.ArgumentMethod(java.lang.String methodName, java.lang.Class<T> argType, java.lang.Class<R> returnType)
           
static
<T,T2,R> Function<T,R>
Functions.Compose(Function<T2,R> f, Function<T,T2> g)
          Compose is a unary function adaptor.
static
<T,R> Function<T,R>
Functions.Constant(R value)
          Returns the initial value, regardless of the argument passed to the function
static
<T1,T2,R> Function<T2,R>
Bind.First(BinaryFunction<T1,T2,R> f, T1 c)
          Adapts a BinaryFunction into a Function.
static
<T> Function<T,T>
Functions.Identity()
          The identity function.
static Function Adapt.Method(java.lang.Class klass, java.lang.String methodName)
          Adapts static member functions as Function objects, allowing them to be passed to algorithms.
static
<T,Void> Function<T,Void>
Adapt.Method(java.lang.Class klass, java.lang.String methodName, java.lang.Class<T> argType)
           
static
<T,R> Function<T,R>
Adapt.Method(java.lang.Class klass, java.lang.String methodName, java.lang.Class<T> argType, java.lang.Class<R> returnType)
           
static Function Adapt.Method(java.lang.Object obj, java.lang.String methodName)
          Adapts member functions as Function objects, allowing them to be passed to algorithms.
static
<T,Void> Function<T,Void>
Adapt.Method(java.lang.Object obj, java.lang.String methodName, java.lang.Class<T> argType)
           
static
<T,R> Function<T,R>
Adapt.Method(java.lang.Object obj, java.lang.String methodName, java.lang.Class<T> argType, java.lang.Class<R> returnType)
           
static
<T1,T2,R> Function<T1,R>
Bind.Second(BinaryFunction<T1,T2,R> f, T2 c)
          Adapts a BinaryFunction into a Function.
 

Methods in uk.co.jezuk.mango with parameters of type Function
static
<T1,R1,T2,R2,R>
BinaryFunction<T1,T2,R>
BinaryFunctions.Compose(BinaryFunction<R1,R2,R> f, Function<T1,R1> g1, Function<T2,R2> g2)
          Compose is a function adaptor.
static
<T1,R1,T2,R2,R>
BinaryFunction<T1,T2,R>
BinaryFunctions.Compose(BinaryFunction<R1,R2,R> f, Function<T1,R1> g1, Function<T2,R2> g2)
          Compose is a function adaptor.
static
<T,T2,R> Function<T,R>
Functions.Compose(Function<T2,R> f, Function<T,T2> g)
          Compose is a unary function adaptor.
static
<T,T2,R> Function<T,R>
Functions.Compose(Function<T2,R> f, Function<T,T2> g)
          Compose is a unary function adaptor.
static
<T,R> void
Algorithms.forEach(java.util.Collection<T> collection, Function<? super T,R> fn)
          The algorithm ForEach applies the function fn to each element in the iterator sequence.
static
<T,R> void
Algorithms.forEach(java.util.Collection<T> collection, int start, int end, Function<? super T,R> fn)
           
static
<T,R> void
Algorithms.forEach(java.util.Iterator<T> iterator, Function<? super T,R> fn)
           
static
<T,R> void
Algorithms.forEach(java.util.List<T> list, int start, int end, Function<? super T,R> fn)
           
static
<T,R> java.util.List<R>
Algorithms.transform(java.util.Collection<T> collection, Function<? super T,R> fn)
          The algorithm Transform applies the function fn to each element in the iterator sequence.
static
<T,R,C extends java.util.Collection<? super R>>
C
Algorithms.transform(java.util.Collection<T> collection, Function<? super T,R> fn, C results)
           
static
<T,R> java.util.List<R>
Algorithms.transform(java.util.Collection<T> collection, int start, int end, Function<? super T,R> fn)
           
static
<T,R,C extends java.util.Collection<? super R>>
C
Algorithms.transform(java.util.Collection<T> collection, int start, int end, Function<? super T,R> fn, C results)
           
static
<T,R> java.util.List<R>
Algorithms.transform(java.util.Iterator<T> iterator, Function<? super T,R> fn)
           
static
<T,R,C extends java.util.Collection<? super R>>
C
Algorithms.transform(java.util.Iterator<T> iterator, Function<? super T,R> fn, C results)
           
static
<T,R> java.util.List<R>
Algorithms.transform(java.util.List<T> collection, int start, int end, Function<? super T,R> fn)
           
static
<T,R,C extends java.util.Collection<? super R>>
C
Algorithms.transform(java.util.List<T> list, int start, int end, Function<? super T,R> fn, C results)
           
static
<T,R> java.util.Iterator<R>
Iterators.TransformIterator(java.util.Iterator<T> iterator, Function<? super T,R> transform)
          A TransfromIterator applies a Function to each element in the sequence, returning the the function result at each step.
 



Copyright © 2002-2010 JezUK Ltd.