it.unimi.dsi.fastutil.ints
Class AbstractIntListIterator

java.lang.Object
  extended by it.unimi.dsi.fastutil.ints.AbstractIntIterator
      extended by it.unimi.dsi.fastutil.ints.AbstractIntBidirectionalIterator
          extended by it.unimi.dsi.fastutil.ints.AbstractIntListIterator
All Implemented Interfaces:
BidirectionalIterator<java.lang.Integer>, IntBidirectionalIterator, IntIterator, IntListIterator, ObjectBidirectionalIterator<java.lang.Integer>, ObjectIterator<java.lang.Integer>, java.util.Iterator<java.lang.Integer>, java.util.ListIterator<java.lang.Integer>
Direct Known Subclasses:
IntIterators.EmptyIterator, IntIterators.UnmodifiableListIterator

public abstract class AbstractIntListIterator
extends AbstractIntBidirectionalIterator
implements IntListIterator

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(int k)
          This method just throws an UnsupportedOperationException.
 void add(java.lang.Integer ok)
          Delegates to the corresponding type-specific method.
 void set(int k)
          This method just throws an UnsupportedOperationException.
 void set(java.lang.Integer ok)
          Delegates to the corresponding type-specific method.
 
Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractIntBidirectionalIterator
back, previous, previousInt
 
Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractIntIterator
next, nextInt, 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.ints.IntBidirectionalIterator
back, previousInt
 
Methods inherited from interface it.unimi.dsi.fastutil.ints.IntIterator
nextInt, skip
 
Methods inherited from interface it.unimi.dsi.fastutil.objects.ObjectIterator
skip
 
Methods inherited from interface it.unimi.dsi.fastutil.BidirectionalIterator
hasPrevious, previous
 

Method Detail

set

public void set(java.lang.Integer ok)
Delegates to the corresponding type-specific method.

Specified by:
set in interface java.util.ListIterator<java.lang.Integer>

add

public void add(java.lang.Integer ok)
Delegates to the corresponding type-specific method.

Specified by:
add in interface java.util.ListIterator<java.lang.Integer>

set

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

Specified by:
set in interface IntListIterator

add

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

Specified by:
add in interface IntListIterator