ch.javasoft.util.intcoll
Class AbstractIntListIterator

java.lang.Object
  extended by ch.javasoft.util.intcoll.AbstractIntIterator
      extended by ch.javasoft.util.intcoll.AbstractIntListIterator
All Implemented Interfaces:
IntIterator, IntListIterator, Iterator<Integer>, ListIterator<Integer>
Direct Known Subclasses:
DefaultIntListIterator

public abstract class AbstractIntListIterator
extends AbstractIntIterator
implements IntListIterator


Field Summary
 
Fields inherited from interface ch.javasoft.util.intcoll.IntIterator
EMPTY
 
Constructor Summary
AbstractIntListIterator()
           
 
Method Summary
 void add(Integer e)
           
abstract  void addInt(int value)
           
abstract  boolean hasNext()
           
abstract  boolean hasPrevious()
           
abstract  int nextIndex()
           
abstract  int nextInt()
          more efficient since no objects have to be instantiated
 Integer previous()
           
abstract  int previousIndex()
           
abstract  int previousInt()
           
 void set(Integer e)
           
abstract  void setInt(int value)
           
 
Methods inherited from class ch.javasoft.util.intcoll.AbstractIntIterator
next, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.ListIterator
next, remove
 

Constructor Detail

AbstractIntListIterator

public AbstractIntListIterator()
Method Detail

addInt

public abstract void addInt(int value)
Specified by:
addInt in interface IntListIterator

setInt

public abstract void setInt(int value)
Specified by:
setInt in interface IntListIterator

hasNext

public abstract boolean hasNext()
Specified by:
hasNext in interface IntListIterator
Specified by:
hasNext in interface Iterator<Integer>
Specified by:
hasNext in interface ListIterator<Integer>

hasPrevious

public abstract boolean hasPrevious()
Specified by:
hasPrevious in interface IntListIterator
Specified by:
hasPrevious in interface ListIterator<Integer>

nextIndex

public abstract int nextIndex()
Specified by:
nextIndex in interface IntListIterator
Specified by:
nextIndex in interface ListIterator<Integer>

previousIndex

public abstract int previousIndex()
Specified by:
previousIndex in interface IntListIterator
Specified by:
previousIndex in interface ListIterator<Integer>

nextInt

public abstract int nextInt()
Description copied from interface: IntIterator
more efficient since no objects have to be instantiated

Specified by:
nextInt in interface IntIterator
Specified by:
nextInt in interface IntListIterator

previousInt

public abstract int previousInt()
Specified by:
previousInt in interface IntListIterator

add

public void add(Integer e)
Specified by:
add in interface ListIterator<Integer>

previous

public Integer previous()
Specified by:
previous in interface ListIterator<Integer>

set

public void set(Integer e)
Specified by:
set in interface ListIterator<Integer>