Package org.cactoos.scalar
Class ItemAt<T>
- java.lang.Object
-
- org.cactoos.scalar.ItemAt<T>
-
-
Constructor Summary
Constructors Constructor Description ItemAt(int position, Iterable<? extends T> iterable)
Ctor.ItemAt(int position, Func<? super Iterable<? extends T>,? extends T> fallback, Iterable<? extends T> iterable)
Ctor.ItemAt(int position, T fallback, Iterable<? extends T> iterable)
Ctor.
-
-
-
Constructor Detail
-
ItemAt
public ItemAt(int position, Iterable<? extends T> iterable)
Ctor.- Parameters:
position
- Positioniterable
- Iterable
-
ItemAt
public ItemAt(int position, T fallback, Iterable<? extends T> iterable)
Ctor.- Parameters:
position
- Positionfallback
- Fallback valueiterable
- Iterable
-
-