Package org.cactoos.iterator
Class Joined<T>
- java.lang.Object
-
- org.cactoos.iterator.Joined<T>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
T
next()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Constructor Detail
-
Joined
@SafeVarargs public Joined(Iterator<? extends T>... items)
Ctor.- Parameters:
items
- Items to concatenate
-
Joined
public Joined(T item, Iterator<? extends T> items)
Ctor.- Parameters:
item
- First itemitems
- Iterable- Since:
- 0.49
-
Joined
public Joined(Iterator<? extends T> items, T item)
Ctor.- Parameters:
items
- Iterableitem
- End item- Since:
- 0.49
-
-