Enumerator

public interface Enumerator<T>

Generic enumerator for collection of type T

Methods

MethodDescription
getCurrent()
moveNext()

getCurrent()

public abstract T getCurrent()

Returns: T

moveNext()

public abstract boolean moveNext()

Returns: boolean