Enumerator
public interface Enumerator<T>
Generic enumerator for collection of type T
Methods
Method | Description |
---|---|
getCurrent() | |
moveNext() |
getCurrent()
public abstract T getCurrent()
Returns: T
moveNext()
public abstract boolean moveNext()
Returns: boolean