kactoos-jvm / nnl.rocks.kactoos.func
Functions.
Name | Summary |
---|---|
Async | class Async<X : Any , Y : Any > : Func < X , Future < Y >>, Proc < X > Func that runs in the background. |
BiFuncOf | class BiFuncOf<in X : Any , in Y : Any , out Z : Any > : BiFunc < X , Y , Z > Represents many possible inputs as BiFunc. |
BiProcOf | class BiProcOf<in X : Any , in Y : Any > : BiProc < X , Y > Func as BiProc. |
CallableOf | class CallableOf<X : Any , T : Any > : Callable < T > Func as Callable. |
Chained | class Chained<X : Any , Y : Any , Z : Any > : Func < X , Z > Composed function. |
CheckedBiFunc | class CheckedBiFunc<X : Any , Y : Any , Z : Any , E> : BiFunc < X , Y , Z > BiFunc that throws exception of specified type. |
CheckedBiProc | class CheckedBiProc<X : Any , Y : Any , E> : BiProc < X , Y > BiProc that throws exception of specified type. |
CheckedFunc | class CheckedFunc<X : Any , Y : Any , E> : Func < X , Y > Func that throws exception of specified type. |
CheckedProc | class CheckedProc<X : Any , E> : Proc < X > Proc that throws exception of specified type. |
FuncOf | class FuncOf<in X : Any , out Y : Any > : Func < X , Y > Represents many possible inputs as Func. |
FuncWithFallback | class FuncWithFallback<in X : Any , out Y : Any > : Func < X , Y > Func with a fallback plan. |
IoCheckedBiFunc | class IoCheckedBiFunc<in X : Any , in Y : Any , out Z : Any > : BiFunc < X , Y , Z > Func that doesn’t throw checked Exception, but throws IOException instead. |
IoCheckedBiProc | class IoCheckedBiProc<in X : Any , in Y : Any > : BiProc < X , Y > BiProc that doesn’t throw checked Exception, but throws IOException instead. |
IoCheckedFunc | class IoCheckedFunc<in X : Any , out Y : Any > : Func < X , Y > Func that doesn’t throw checked Exception, but throws IOException instead. |
IoCheckedProc | class IoCheckedProc<in X : Any > : Proc < X > Proc that doesn’t throw checked Exception, but throws java.io.IOException instead. |
ProcOf | class ProcOf<in X : Any > : Proc < X > Func as Proc. |
Repeated | class Repeated<X : Any , Y : Any > : Func < X , Y > Func that repeats its calculation a few times before returning the last result. If times is equal or less than zero Repeated.apply will return an exception. |
Retry | class Retry<X : Any , Y : Any > : Func < X , Y > Func that will try a few times before throwing an exception. |
RunnableOf | class RunnableOf<X : Any > : Runnable Func as Runnable. |
SolidBiFunc | class SolidBiFunc<in X : Any , in Y : Any , out Z : Any > : BiFunc < X , Y , Z > BiFunc that is thread-safe and sticky. |
SolidFunc | class SolidFunc<in X : Any , out Y : Any > : Func < X , Y > Func that is thread-safe and sticky. |
StickyBiFunc | class StickyBiFunc<in X : Any , in Y : Any , out Z : Any > : BiFunc < X , Y , Z > Func that accepts two arguments and caches previously calculated values and doesn’t recalculate again. |
StickyFunc | class StickyFunc<in X : Any , out Y : Any > : Func < X , Y > Func that caches previously calculated values and doesn’t recalculate again. |
SyncBiFunc | class SyncBiFunc<in X : Any , in Y : Any , out Z : Any > : BiFunc < X , Y , Z > BiFunc that is thread-safe. |
SyncFunc | class SyncFunc<X : Any , Y : Any > : Func < X , Y > Func that is thread-safe. |
TimedFunc | class TimedFunc<X : Any , Y : Any > : Func < X , Y > Function that gets interrupted after a certain time has passed. |
UncheckedBiFunc | class UncheckedBiFunc<in X : Any , in Y : Any , out Z : Any > : BiFunc < X , Y , Z > BiFunc that doesn’t throw checked Exception. |
UncheckedBiProc | class UncheckedBiProc<in X : Any , in Y : Any > : BiProc < X , Y > BiProc that doesn’t throw checked Exception. |
UncheckedFunc | class UncheckedFunc<in X : Any , out Y : Any > : Func < X , Y > Func that doesn’t throw checked Exception. |
UncheckedProc | class UncheckedProc<in X : Any > : Proc < X > Proc that doesn’t throw checked Exception. |