|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jwutil.collections.AppendIterator
public class AppendIterator
Constructs a new iterator that appends two given iterators.
Constructor Summary | |
---|---|
AppendIterator(java.util.Iterator iter1,
java.util.Iterator iter2)
Given two iterators, creates a new AppendIterator. |
Method Summary | |
---|---|
boolean |
hasNext()
|
java.lang.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 AppendIterator(java.util.Iterator iter1, java.util.Iterator iter2)
iter1
- first iteratoriter2
- second iteratorMethod Detail |
---|
public java.lang.Object next()
next
in interface java.util.Iterator
public boolean hasNext()
hasNext
in interface java.util.Iterator
public void remove()
remove
in interface java.util.Iterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |