it.unimi.dsi.fastutil.doubles
Class AbstractDoubleListIterator

java.lang.Object
  extended byit.unimi.dsi.fastutil.doubles.AbstractDoubleIterator
      extended byit.unimi.dsi.fastutil.doubles.AbstractDoubleBidirectionalIterator
          extended byit.unimi.dsi.fastutil.doubles.AbstractDoubleListIterator
All Implemented Interfaces:
BidirectionalIterator, DoubleBidirectionalIterator, DoubleIterator, DoubleListIterator, Iterator, ListIterator
Direct Known Subclasses:
DoubleIterators.UnmodifiableListIterator

public abstract class AbstractDoubleListIterator
extends AbstractDoubleBidirectionalIterator
implements DoubleListIterator

An abstract class facilitating the creation of type-specific list iterators.

This class provides trivial type-specific implementations of set() and add() which throw an UnsupportedOperationException. For primitive types, it also provides a trivial implementation of set() and add() that just invokes the type-specific one.

See Also:
ListIterator

Method Summary
 void add(double k)
          This method just throws an UnsupportedOperationException.
 void add(Object ok)
          Delegates to the corresponding type-specific method.
 void set(double k)
          This method just throws an UnsupportedOperationException.
 void set(Object ok)
          Delegates to the corresponding type-specific method.
 
Methods inherited from class it.unimi.dsi.fastutil.doubles.AbstractDoubleBidirectionalIterator
back, previous, previousDouble
 
Methods inherited from class it.unimi.dsi.fastutil.doubles.AbstractDoubleIterator
next, nextDouble, remove, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.ListIterator
hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove
 
Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleBidirectionalIterator
back, previousDouble
 
Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleIterator
nextDouble, skip
 
Methods inherited from interface it.unimi.dsi.fastutil.BidirectionalIterator
hasPrevious, previous
 

Method Detail

set

public void set(Object ok)
Delegates to the corresponding type-specific method.

Specified by:
set in interface ListIterator

add

public void add(Object ok)
Delegates to the corresponding type-specific method.

Specified by:
add in interface ListIterator

set

public void set(double k)
This method just throws an UnsupportedOperationException.

Specified by:
set in interface DoubleListIterator

add

public void add(double k)
This method just throws an UnsupportedOperationException.

Specified by:
add in interface DoubleListIterator