net.sf.staccatocommons.iterators
Class ArrayThriterator<A>
java.lang.Object
net.sf.staccatocommons.iterators.AbstractUnmodifiableIterator<A>
net.sf.staccatocommons.iterators.thriter.AbstractThriterator<A>
net.sf.staccatocommons.iterators.thriter.AdvanceThriterator<A>
net.sf.staccatocommons.iterators.IndexedThriterator<A>
net.sf.staccatocommons.iterators.ArrayThriterator<A>
- All Implemented Interfaces:
- Iterator<A>, EmptyAware, Thriter<A>, Thriterator<A>
public class ArrayThriterator<A>
- extends IndexedThriterator<A>
- Author:
- flbulgarelli
ArrayThriterator
public ArrayThriterator(@NonNull
A[] array)
- Creates a new
ArrayThriterator
elementAt
protected A elementAt(int position)
- Specified by:
elementAt in class IndexedThriterator<A>
length
protected int length()
- Specified by:
length in class IndexedThriterator<A>
toString
public String toString()
- Overrides:
toString in class Object