net.sf.staccatocommons.iterators
Class NextGetIterator<A>
java.lang.Object
net.sf.staccatocommons.iterators.AbstractUnmodifiableIterator<A>
net.sf.staccatocommons.iterators.NextGetIterator<A>
- Type Parameters:
A -
- All Implemented Interfaces:
- Iterator<A>
Deprecated. use UpdateCurrentThriterator instead, which offers same
functionality, is simpler to use, and implements
Thriterator
@Deprecated
public abstract class NextGetIterator<A>
- extends AbstractUnmodifiableIterator<A>
- Author:
- flbulgarelli
|
Method Summary |
protected A |
getNext()
Deprecated. |
boolean |
hasNext()
Deprecated. |
A |
next()
Deprecated. |
protected A |
setNext(A next)
Deprecated. Sets the next value to iterate over. |
protected abstract boolean |
updateNext()
Deprecated. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NextGetIterator
public NextGetIterator()
- Deprecated.
hasNext
public final boolean hasNext()
- Deprecated.
next
public final A next()
- Deprecated.
setNext
protected final A setNext(A next)
- Deprecated.
- Sets the next value to iterate over.
- Parameters:
next - the next element to retrieve
- Returns:
next
getNext
protected final A getNext()
- Deprecated.
updateNext
protected abstract boolean updateNext()
- Deprecated.