ch.javasoft.util.intcoll
Class AbstractIntListIterator
java.lang.Object
ch.javasoft.util.intcoll.AbstractIntIterator
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractIntListIterator
public AbstractIntListIterator()
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>