|
Orbital library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorbital.util.DelegateIterator
public class DelegateIterator
A DelegateIterator that works as a delegator to iterators.
It implements the java.util.Iterator interface itself, and so
a DelegateIterator is an iterator delegating to a specified implementation
Iterator.
Iterator,
Serialized Form| Constructor Summary | |
|---|---|
protected |
DelegateIterator(java.util.Iterator delegatee)
Extend to create an Iterator delegating to an implementation Iterator. |
| Method Summary | |
|---|---|
protected java.util.Iterator |
getDelegatee()
Get the delegatee Iterator to which operations are delegated. |
boolean |
hasNext()
|
java.lang.Object |
next()
|
void |
remove()
|
protected void |
setDelegatee(java.util.Iterator delegatee)
Set the delegatee Iterator to which operations are delegated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected DelegateIterator(java.util.Iterator delegatee)
delegatee - the implementation-Iterator to that Iterator operations are delegated.| Method Detail |
|---|
protected java.util.Iterator getDelegatee()
protected void setDelegatee(java.util.Iterator delegatee)
delegatee - the implementation-Iterator that Iterator operations are delegated to.public boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface java.util.Iteratorpublic void remove()
remove in interface java.util.Iterator
|
Orbital library 1.2.0: 23 Apr 2008 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||