public abstract class AbstractDoubleBigListIterator extends AbstractDoubleBidirectionalIterator implements DoubleBigListIterator
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(double k)
This method just throws an
UnsupportedOperationException. |
void |
add(Double ok)
Delegates to the corresponding type-specific method.
|
long |
back(long n)
This method just iterates the type-specific version of
AbstractDoubleBidirectionalIterator.previous() for at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false. |
void |
set(double k)
This method just throws an
UnsupportedOperationException. |
void |
set(Double ok)
Delegates to the corresponding type-specific method.
|
long |
skip(long n)
This method just iterates the type-specific version of
AbstractDoubleIterator.next() for at most n times, stopping if Iterator.hasNext() becomes false. |
back, previous, previousDoublenext, nextDouble, remove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitback, previousDoublenextDouble, skipskiphasPrevious, previousforEachRemaining, hasNext, next, removenextIndex, previousIndexpublic void set(Double ok)
set in interface DoubleBigListIteratorpublic void add(Double ok)
add in interface DoubleBigListIteratorpublic void set(double k)
UnsupportedOperationException.set in interface DoubleBigListIteratorpublic void add(double k)
UnsupportedOperationException.add in interface DoubleBigListIteratorpublic long skip(long n)
AbstractDoubleIterator.next() for at most n times, stopping if Iterator.hasNext() becomes false.skip in interface BigListIterator<Double>n - the number of elements to skip.public long back(long n)
AbstractDoubleBidirectionalIterator.previous() for at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false.