Package org.cactoos.func
Functions.
- Since:
- 0.1
-
Class Summary Class Description Async<X,Y> Func that runs in the background.BiFuncEnveloppe<X,Y,Z> Enveloppe ofBiFunc
.BiFuncNoNulls<X,Y,Z> BiFunc check for no nulls.BiFuncOf<X,Y,Z> Represents many possible inputs asBiFunc
.Chained<X,Y,Z> Composed function.CheckedBiFunc<X,Y,Z,E extends Exception> BiFunc that throws exception of specified type.CheckedFunc<X,Y,E extends Exception> Func that throws exception of specified type.Flattened<X,Y> FuncEnvelope<X,Y> Envelope for Func.FuncNoNulls<X,Y> Func check for no nulls.FuncOf<X,Y> Represents many possible inputs asFunc
.FuncWithFallback<X,Y> Func with fallbacks that enable it to recover from errors.IoCheckedBiFunc<X,Y,Z> Func that doesn't throw checkedException
, but throwsIOException
instead.IoCheckedFunc<X,Y> Func that doesn't throw checkedException
, but throwsIOException
instead.Repeated<X,Y> Func that repeats its calculation a few times before returning the last result.Retry<X,Y> Func that will try a few times before throwing an exception.SolidBiFunc<X,Y,Z> BiFunc that is thread-safe and sticky.SolidFunc<X,Y> Func that is thread-safe and sticky.StickyBiFunc<X,Y,Z> Func that accepts two arguments and caches previously calculated values and doesn't recalculate again.StickyFunc<X,Y> Func that caches previously calculated values and doesn't recalculate again.SyncBiFunc<X,Y,Z> BiFunc that is thread-safe.SyncFunc<X,Y> Func that is thread-safe.Timed<X,Y> Function that gets interrupted after a certain time has passed.UncheckedBiFunc<X,Y,Z> BiFunc that doesn't throw checkedException
.UncheckedFunc<X,Y> Func that doesn't throw checkedException
.