| Modifier and Type | Field and Description |
|---|---|
| private T | current
Current element position. |
| private Iterator | currentIterator
Current iterator position. |
| private final Iterator | iterators
Iterators of iterators. |
| private T | next
Next element position. |
| private final Collection | removeColl
Collection of removed elements. |
| Access | Constructor and Description |
|---|---|
| public | AggregateIterator(final Collection<?>
collection of removed entries to check against collRemove, final List<Iterator<T>> collection of iterators listIterators)
|
| Modifier and Type | Method and Description |
|---|---|
| private Iterator | |
| public final boolean | |
| public final T | |
| public final void | remove()
Overrides default java. |
| current | back to summary |
|---|---|
| private T current Current element position. | |
| currentIterator | back to summary |
|---|---|
| private Iterator<T> currentIterator Current iterator position. | |
| iterators | back to summary |
|---|---|
| private final Iterator<Iterator<T>> iterators Iterators of iterators. | |
| next | back to summary |
|---|---|
| private T next Next element position. | |
| removeColl | back to summary |
|---|---|
| private final Collection<?> removeColl Collection of removed elements. | |
| AggregateIterator | back to summary |
|---|---|
public AggregateIterator(final Collection<?> collRemove, final List<Iterator<T>> listIterators)
| |
| getNextIterator | back to summary |
|---|---|
| private Iterator Get next Iterator.
| |
| hasNext | back to summary |
|---|---|
| public final boolean hasNext() Implements java. Doc from java. Returns
| |
| next | back to summary |
|---|---|
| public final T next() Implements java. Doc from java. Returns the next element in the iteration.
| |
| remove | back to summary |
|---|---|
| public final void remove() Overrides default java. Doc from java. Removes from the underlying collection the last element returned
by this iterator (optional operation). This method can be called
only once per call to The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method, unless an overriding class has specified a concurrent modification policy.
The behavior of an iterator is unspecified if this method is called
after a call to the | |