T
- Scalar typepublic final class ItemOfIterable<T> extends Object implements Scalar<T>
Iterable
or fallback value if iterable hasn't this position.
There is no thread-safety guarantee.
Scalar.NoNulls<T>
Constructor and Description |
---|
ItemOfIterable(Iterable<T> src)
Ctor.
|
ItemOfIterable(Iterable<T> src,
Func<Iterable<T>,T> fbk)
Ctor.
|
ItemOfIterable(Iterable<T> src,
int pos)
Ctor.
|
ItemOfIterable(Iterable<T> src,
int pos,
Func<Iterable<T>,T> fbk)
Ctor.
|
ItemOfIterable(Iterable<T> src,
T fbk)
Ctor.
|
public ItemOfIterable(Iterable<T> src, T fbk)
src
- Iterablefbk
- Fallback valuepublic ItemOfIterable(Iterable<T> src, Func<Iterable<T>,T> fbk)
src
- Iterablefbk
- Fallback valuepublic ItemOfIterable(Iterable<T> src, int pos)
src
- Iterablepos
- PositionCopyright © 2017 Cactoos. All rights reserved.