edu.emory.mathcs.util.collections.shorts
Interface ShortListIterator
- All Superinterfaces:
- ShortIterator
- public interface ShortListIterator
- extends ShortIterator
Iterator over a list of short numbers.
- Version:
- 1.0
- Author:
- Dawid Kurzyniec
- See Also:
ListIterator
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface ShortIterator
next
public short next()
- Specified by:
next
in interface ShortIterator
hasPrevious
public boolean hasPrevious()
previous
public short previous()
nextIndex
public int nextIndex()
previousIndex
public int previousIndex()
remove
public void remove()
- Specified by:
remove
in interface ShortIterator
set
public void set(short e)
add
public void add(short e)