Uses of Interface
net.sf.staccatocommons.defs.function.Function2

Packages that use Function2
net.sf.staccatocommons.defs.function   
net.sf.staccatocommons.defs.type   
 

Uses of Function2 in net.sf.staccatocommons.defs.function
 

Methods in net.sf.staccatocommons.defs.function that return Function2
 Function2<B,C,D> Function3.apply(A arg0)
          Partially applies the function, passing only its first argument
 Function2<B,A,C> Function2.flip()
          Inverts function parameters order
 Function2<A,B,C> Function2.nullSafe()
          Answers a new function that returns null if any of its arguments is null, or the result of applying this function, otherwise.
<D> Function2<D,B,C>
Function2.of(Applicable<? super D,? extends A> function)
           
<Tp1,Tp2> Function2<Tp1,Tp2,B>
Function.of(Applicable2<Tp1,Tp2,? extends A> other)
          Composes this function with another Applicable2, resulting in a new Function2 that when applied returns this.apply(other.apply(arg0, arg1)
<D> Function2<A,B,D>
Function2.then(Function<? super C,? extends D> other)
          Function composition, like Function.of(Applicable2), but with receptor and argument interchanged.
<A2,B2,C> Function2<A,A2,C>
Function.then(Function2<B,B2,C> binayFunction, Function<? super A2,? extends B2> other)
          Merge combination.
 

Methods in net.sf.staccatocommons.defs.function with parameters of type Function2
<A2,B2,C> Function2<A,A2,C>
Function.then(Function2<B,B2,C> binayFunction, Function<? super A2,? extends B2> other)
          Merge combination.
<A2,B2,D> Function3<A,B,A2,D>
Function2.then(Function2<C,B2,D> binaryFunction, Function<? super A2,? extends B2> other)
          Answers a three arg function that combines this function with other function, using a binaryFunction to merge the results.
 

Uses of Function2 in net.sf.staccatocommons.defs.type
 

Methods in net.sf.staccatocommons.defs.type that return Function2
 Function2<A,A,A> NumberType.add()
          Answers a 2-arguments function that perform addition as specified by NumberType.add(Object, Object)
 Function2<A,A,A> NumberType.multiply()
          Answers a 2-arguments function that perform multiplication as specified by NumberType.multiply(Object, Object)
 Function2<A,A,A> IntegralType.remainder()
          Answers a binary function that return reminder as specified by IntegralType.remainder(Object, Object)
 



Get Staccatocommons at SourceForge.net. Fast, secure and Free Open Source software downloads