Class CharRangeIterator
- java.lang.Object
-
- net.automatalib.common.util.collection.CharRangeIterator
-
- All Implemented Interfaces:
Iterator<Character>,ListIterator<Character>
public final class CharRangeIterator extends Object implements ListIterator<Character>
-
-
Constructor Summary
Constructors Constructor Description CharRangeIterator(char low, int step, int size)CharRangeIterator(char low, int step, int size, int curr)CharRangeIterator(IntRangeIterator delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Character e)booleanhasNext()booleanhasPrevious()Characternext()charnextChar()intnextIndex()Characterprevious()charpreviousChar()intpreviousIndex()voidremove()voidset(Character e)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
CharRangeIterator
public CharRangeIterator(char low, int step, int size)
-
CharRangeIterator
public CharRangeIterator(char low, int step, int size, int curr)
-
CharRangeIterator
public CharRangeIterator(IntRangeIterator delegate)
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
next
public Character next()
-
nextChar
public char nextChar()
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPreviousin interfaceListIterator<Character>
-
previous
public Character previous()
- Specified by:
previousin interfaceListIterator<Character>
-
previousChar
public char previousChar()
-
nextIndex
public int nextIndex()
- Specified by:
nextIndexin interfaceListIterator<Character>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndexin interfaceListIterator<Character>
-
remove
public void remove()
-
set
public void set(Character e)
- Specified by:
setin interfaceListIterator<Character>
-
add
public void add(Character e)
- Specified by:
addin interfaceListIterator<Character>
-
-