|
Web Site | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.janino.util.MultiIterator
An Iterator
that traverses a Collection
of
Iterator
s.
Constructor Summary | |
MultiIterator(Collection collection)
|
|
MultiIterator(Collection[] collections)
|
|
MultiIterator(Collection collection,
Object object)
Iterates over the given Collection , appended with the given Object . |
|
MultiIterator(Iterator iterator)
|
|
MultiIterator(Iterator[] iterators)
|
|
MultiIterator(Iterator iterator,
Object suffix)
Iterates over the given Iterator , appended with the given suffix . |
|
MultiIterator(Object[] array)
|
|
MultiIterator(Object[][] arrays)
|
|
MultiIterator(Object object,
Collection collection)
Iterates over the given Collection , prepended with the given Object . |
|
MultiIterator(Object prefix,
Iterator iterator)
Iterates over the given Iterator , prepended with the given prefix . |
Method Summary | |
boolean |
hasNext()
|
Object |
next()
|
void |
remove()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MultiIterator(Iterator[] iterators)
iterators
- An array of Iterator
spublic MultiIterator(Collection[] 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 collection)
Collection
, prepended with the given Object
.
public MultiIterator(Collection collection, Object object)
Collection
, appended with the given Object
.
public MultiIterator(Object prefix, Iterator iterator)
Iterator
, prepended with the given prefix
.
public MultiIterator(Iterator iterator, Object suffix)
Iterator
, appended with the given suffix
.
Method Detail |
public boolean hasNext()
hasNext
in interface Iterator
public Object next()
next
in interface Iterator
public void remove()
remove
in interface Iterator
|
Web Site | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |