| Modifier and Type | Method and Description |
|---|---|
static <T> boolean |
addAll(Collection<T> target,
Iterator<? extends T> iterator)
Add all elements in the iterator to the collection.
|
static <T> Iterator<T> |
concat(Iterator<? extends Iterator<? extends T>> iterators)
Combine the iterators into a single one.
|
static <T,R> Iterator<R> |
transform(Iterator<T> iterator,
Function<? super T,? extends R> function) |
public static <T> boolean addAll(Collection<T> target, Iterator<? extends T> iterator)
target - iterator - public static <T> Iterator<T> concat(Iterator<? extends Iterator<? extends T>> iterators)
iterators - An iterator of iteratorsCopyright © 2017. All rights reserved.