public abstract class AbstractCharBigListIterator extends AbstractCharBidirectionalIterator implements CharBigListIterator
This implementation provides (deprecated) implementations of
ListIterator.previousIndex() and ListIterator.nextIndex()
that just invoke the corresponding BigListIterator methods.
ListIterator,
BigListIterator| Modifier and Type | Method and Description |
|---|---|
void |
add(char k)
This method just throws an
UnsupportedOperationException. |
void |
add(Character ok)
Delegates to the corresponding type-specific method.
|
long |
back(long n)
This method just iterates the type-specific version of
AbstractCharBidirectionalIterator.previous() for at most n times, stopping if
BidirectionalIterator.hasPrevious() becomes false. |
void |
set(char k)
This method just throws an
UnsupportedOperationException. |
void |
set(Character ok)
Delegates to the corresponding type-specific method.
|
long |
skip(long n)
This method just iterates the type-specific version of
next() for
at most n times, stopping if Iterator.hasNext() becomes
false. |
back, previous, previousCharnext, nextChar, remove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitback, previousCharnextChar, skipskiphasPrevious, previousforEachRemaining, hasNext, next, removenextIndex, previousIndexpublic void set(Character ok)
set in interface CharBigListIteratorpublic void add(Character ok)
add in interface CharBigListIteratorpublic void set(char k)
UnsupportedOperationException.set in interface CharBigListIteratorpublic void add(char k)
UnsupportedOperationException.add in interface CharBigListIteratorpublic long skip(long n)
next() for
at most n times, stopping if Iterator.hasNext() becomes
false.skip in interface BigListIterator<Character>n - the number of elements to skip.public long back(long n)
AbstractCharBidirectionalIterator.previous() for at most n times, stopping if
BidirectionalIterator.hasPrevious() becomes false.