|
Orbital library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object orbital.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 FormConstructor 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.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public void remove()
remove
in interface java.util.Iterator
|
Orbital library 1.3.0: 11 Apr 2009 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |