| Constructor and Description |
|---|
MultiIterator(Iterable<T>[] iterables,
Class<T> cl) |
| Modifier and Type | Method and Description |
|---|---|
static <T> MultiIterator<T> |
create(Collection<? super Iterable<T>> its,
Class<T> cl) |
static <T> MultiIterator<T> |
create(Iterable<T>[] its,
Class<T> cl)
Creates a multi iterator from an array of iterators
|
boolean |
hasNext()
Returns true if next entities array exists.
|
Iterator<T[]> |
iterator()
Returns self to be used in foreach loops
|
T[] |
next()
Returns the next entities array.
|
void |
remove()
Remove is not supported
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingforEach, spliteratorpublic static <T> MultiIterator<T> create(Iterable<T>[] its, Class<T> cl)
T - type of entities in iteratorsits - array of iteratorscl - class of entities in iteratorspublic static <T> MultiIterator<T> create(Collection<? super Iterable<T>> its, Class<T> cl)
public boolean hasNext()
public T[] next()
Copyright © 2017. All rights reserved.