Constructor and Description |
---|
MultiIterator(Collection<?> collection) |
MultiIterator(Collection<T>[] collections) |
MultiIterator(Collection<T> collection,
Object object)
Iterates over the given
Collection , appended with the given Object . |
MultiIterator(Iterator<?> iterator) |
MultiIterator(Iterator<T>[] iterators) |
MultiIterator(Iterator<T> iterator,
Object suffix)
Iterates over the given
Iterator , appended with the given suffix . |
MultiIterator(Object[] array) |
MultiIterator(Object[][] arrays) |
MultiIterator(Object object,
Collection<T> collection)
Iterates over the given
Collection , prepended with the given Object . |
MultiIterator(Object prefix,
Iterator<T> iterator)
Iterates over the given
Iterator , prepended with the given prefix . |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
T |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public MultiIterator(Iterator<T>[] iterators)
iterators
- An array of Iterator
spublic MultiIterator(Collection<T>[] collections)
collections
- An array of Collection
spublic MultiIterator(Object[][] arrays)
arrays
- An array of arrayspublic MultiIterator(Collection<?> collection)
collection
- A Collection
of Collection
s, Iterator
s and/or arrayspublic MultiIterator(Iterator<?> iterator)
iterator
- An iterator over Collection
s, Iterator
s and/or arrayspublic MultiIterator(Object[] array)
array
- An array of Collection
s, Iterator
s and/or arrayspublic MultiIterator(Object object, Collection<T> collection)
Collection
, prepended with the given Object
.public MultiIterator(Collection<T> collection, Object object)
Collection
, appended with the given Object
.public MultiIterator(Object prefix, Iterator<T> iterator)
Iterator
, prepended with the given prefix
.Copyright © 2001–2016. All rights reserved.