Package fj.function
A prelude of commonly used first-class functions
-
Interface Summary Interface Description Effect0 Effect1<A> Effect2<A,B> Effect3<A,B,C> Effect4<A,B,C,D> Effect5<A,B,C,D,E> Effect6<A,B,C,D,E,F> Effect7<A,B,C,D,E,F,G> Effect8<A,B,C,D,E,F,G,H> Try0<A,Z extends java.lang.Exception> A product ofA
which may throw anException
.Try1<A,B,Z extends java.lang.Exception> A transformation function fromA
toB
that may throw anException
.Try2<A,B,C,Z extends java.lang.Exception> A transformation function of arity-2 fromA
andB
toC
that may throw anException
.Try3<A,B,C,D,Z extends java.lang.Exception> A transformation function of arity-3 fromA
,B
andC
toD
that may throw anException
.Try4<A,B,C,D,E,Z extends java.lang.Exception> A transformation function of arity-4 fromA
,B
,C
andD
toE
that may throw anException
.Try5<A,B,C,D,E,F,Z extends java.lang.Exception> A transformation function of arity-5 fromA
,B
,C
,D
andE
toF
that may throw anException
.Try6<A,B,C,D,E,F,G,Z extends java.lang.Exception> A transformation function of arity-6 fromA
,B
,C
,D
,E
andF
toG
that may throw anException
.Try7<A,B,C,D,E,F,G,H,Z extends java.lang.Exception> A transformation function of arity-7 fromA
,B
,C
,D
,E
,F
andG
toH
that may throw anException
.Try8<A,B,C,D,E,F,G,H,I,Z extends java.lang.Exception> A transformation function of arity-8 fromA
,B
,C
,D
,E
,F
,G
andH
toI
that may throw anException
.TryEffect0<Z extends java.lang.Exception> TryEffect1<A,Z extends java.lang.Exception> TryEffect2<A,B,Z extends java.lang.Exception> TryEffect3<A,B,C,Z extends java.lang.Exception> TryEffect4<A,B,C,D,Z extends java.lang.Exception> TryEffect5<A,B,C,D,E,Z extends java.lang.Exception> TryEffect6<A,B,C,D,E,F,Z extends java.lang.Exception> TryEffect7<A,B,C,D,E,F,G,Z extends java.lang.Exception> TryEffect8<A,B,C,D,E,F,G,H,Z extends java.lang.Exception> -
Class Summary Class Description BigIntegers Curried functions over Integers.Booleans Curried logical functions.Characters First-class functions on Characters.Doubles Curried functions over Doubles.Integers Curried functions over Integers.Longs Curried functions over Longs.Strings Curried string functions.Visitor The essence of the visitor design pattern expressed polymorphically.