Package | Description |
---|---|
org.cactoos |
Cactoos.
|
org.cactoos.func |
Functions and procedures.
|
org.cactoos.io |
Input/Output.
|
org.cactoos.list |
Lists, collections, sets, iterables, iterators.
|
org.cactoos.text |
Text.
|
Modifier and Type | Class and Description |
---|---|
static class |
Func.NoNulls<X,Y>
Func check for no nulls.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FuncApplies.matchesSafely(Func<X,Y> func) |
Constructor and Description |
---|
NoNulls(Func<X,Y> fnc)
Ctor.
|
Modifier and Type | Class and Description |
---|---|
class |
AsyncFunc<X,Y>
Func that runs in the background.
|
class |
ChainedFunc<X,Y,Z>
Composed function.
|
class |
FuncOf<X,Y>
Represents many possible inputs as
Func . |
class |
FuncWithFallback<X,Y>
Func with a fallback plan.
|
class |
IoCheckedFunc<X,Y>
Func that doesn't throw checked
Exception , but throws
IOException instead. |
class |
RepeatedFunc<X,Y>
Func that repeats its calculation a few times before
returning the last result.
|
class |
RetryFunc<X,Y>
Func that will try a few times before throwing an exception.
|
class |
StickyFunc<X,Y>
Func that caches previously calculated values and doesn't
recalculate again.
|
class |
SyncFunc<X,Y>
Func that is thread-safe.
|
class |
UncheckedFunc<X,Y>
Func that doesn't throw checked
Exception . |
Constructor and Description |
---|
ChainedFunc(Func<X,Y> bfr,
Iterable<Func<Y,Y>> list,
Func<Y,Z> atr)
Ctor.
|
Constructor and Description |
---|
InputWithFallback(Input input,
Func<IOException,Input> alt)
Ctor.
|
ResourceAsInput(String res,
Func<String,Input> fbk)
New resource input with current context
ClassLoader . |
ResourceAsInput(String res,
Func<String,Input> fbk,
ClassLoader ldr)
New resource input with specified
ClassLoader . |
UncheckedBytes(Bytes bts,
Func<IOException,byte[]> fbk)
Ctor.
|
Constructor and Description |
---|
FilteredIterable(Iterable<X> src,
Func<X,Boolean> fnc)
Ctor.
|
FilteredIterator(Iterator<X> src,
Func<X,Boolean> fnc)
Ctor.
|
ItemOfIterable(Iterable<T> src,
Func<Iterable<T>,T> fbk)
Ctor.
|
ItemOfIterable(Iterable<T> src,
int pos,
Func<Iterable<T>,T> fbk)
Ctor.
|
ItemOfIterator(Iterator<T> src,
Func<Iterable<T>,T> fbk)
Ctor.
|
ItemOfIterator(Iterator<T> src,
int pos,
Func<Iterable<T>,T> fbk)
Ctor.
|
IterableAsMap(Iterable<Z> list,
Func<Z,Map.Entry<X,Y>> entry)
Ctor.
|
IterableAsMap(Iterable<Z> list,
Func<Z,X> key,
Func<Z,Y> value)
Ctor.
|
IterableAsMap(Iterable<Z> list,
Func<Z,X> key,
Func<Z,Y> value)
Ctor.
|
MappedIterable(Iterable<X> src,
Func<X,Y> fnc)
Ctor.
|
MappedIterator(Iterator<X> src,
Func<X,Y> fnc)
Ctor.
|
StickyMap(Iterable<Z> list,
Func<Z,Map.Entry<X,Y>> entry)
Ctor.
|
StickyMap(Iterable<Z> list,
Func<Z,X> key,
Func<Z,Y> value)
Ctor.
|
StickyMap(Iterable<Z> list,
Func<Z,X> key,
Func<Z,Y> value)
Ctor.
|
Constructor and Description |
---|
UncheckedText(Text txt,
Func<IOException,String> fbk)
Ctor.
|
Copyright © 2017 Cactoos. All rights reserved.