net.sf.staccatocommons.iterators
Class CharSequenceThriterator
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<Character>
net.sf.staccatocommons.iterators.CharSequenceThriterator
- All Implemented Interfaces:
- Iterator<Character>, EmptyAware, Thriter<Character>, Thriterator<Character>
public class CharSequenceThriterator
- extends IndexedThriterator<Character>
- Author:
- flbulgarelli
CharSequenceThriterator
public CharSequenceThriterator(@NonNull
CharSequence charSequence)
- Creates a new
CharSequenceThriterator
- Parameters:
charSequence - the sequence to wrap
length
protected int length()
- Specified by:
length in class IndexedThriterator<Character>
elementAt
protected Character elementAt(int position)
- Specified by:
elementAt in class IndexedThriterator<Character>
toString
public String toString()
- Overrides:
toString in class Object