Package org.codehaus.janino.util
Class MultiIterator
java.lang.Object
org.codehaus.janino.util.MultiIterator
- All Implemented Interfaces:
Iterator
-
Constructor Summary
ConstructorsConstructorDescriptionMultiIterator
(Object[] array) MultiIterator
(Object[][] arrays) MultiIterator
(Object object, Collection collection) Iterates over the givenCollection
, prepended with the givenObject
.MultiIterator
(Object prefix, Iterator iterator) Iterates over the givenIterator
, prepended with the givenprefix
.MultiIterator
(Collection collection) MultiIterator
(Collection[] collections) MultiIterator
(Collection collection, Object object) Iterates over the givenCollection
, appended with the givenObject
.MultiIterator
(Iterator iterator) MultiIterator
(Iterator[] iterators) MultiIterator
(Iterator iterator, Object suffix) Iterates over the givenIterator
, appended with the givensuffix
. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
MultiIterator
- Parameters:
iterators
- An array ofIterator
s
-
MultiIterator
- Parameters:
collections
- An array ofCollection
s
-
MultiIterator
- Parameters:
arrays
- An array of arrays
-
MultiIterator
- Parameters:
collection
- ACollection
ofCollection
s,Iterator
s and/or arrays
-
MultiIterator
- Parameters:
iterator
- An iterator overCollection
s,Iterator
s and/or arrays
-
MultiIterator
- Parameters:
array
- An array ofCollection
s,Iterator
s and/or arrays
-
MultiIterator
Iterates over the givenCollection
, prepended with the givenObject
. -
MultiIterator
Iterates over the givenCollection
, appended with the givenObject
. -
MultiIterator
Iterates over the givenIterator
, prepended with the givenprefix
. -
MultiIterator
Iterates over the givenIterator
, appended with the givensuffix
.
-
-
Method Details