Class MultiIterator<T>
java.lang.Object
org.codehaus.commons.compiler.util.iterator.MultiIterator<T>
- Type Parameters:
T- The element type of the iterator
- All Implemented Interfaces:
Iterator<T>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMultiIterator(Object[] array) MultiIterator(Object[][] arrays) MultiIterator(Object object, Collection<T> collection) Iterates over the givenCollection, prepended with the givenObject.MultiIterator(Object prefix, Iterator<T> iterator) Iterates over the givenIterator, prepended with the given prefix.MultiIterator(Collection<?> collection) MultiIterator(Collection<T>[] collections) MultiIterator(Collection<T> collection, Object object) Iterates over the givenCollection, appended with the givenObject.MultiIterator(Iterator<?> iterator) MultiIterator(Iterator<T>[] iterators) MultiIterator(Iterator<T> iterator, Object suffix) Iterates over the givenIterator, appended with the givensuffix. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Field Details
-
outer
-
inner
-
-
Constructor Details
-
MultiIterator
-
MultiIterator
- Parameters:
collections- An array ofCollections
-
MultiIterator
- Parameters:
arrays- An array of arrays
-
MultiIterator
- Parameters:
collection- ACollectionofCollections,Iterators and/or arrays
-
MultiIterator
- Parameters:
iterator- An iterator overCollections,Iterators and/or arrays
-
MultiIterator
- Parameters:
array- An array ofCollections,Iterators and/or arrays
-
MultiIterator
Iterates over the givenCollection, prepended with the givenObject. -
MultiIterator
Iterates over the givenCollection, appended with the givenObject. -
MultiIterator
-
MultiIterator
-
-
Method Details
-
hasNext
-
next
-
remove
-