it.unimi.dsi.fastutil.shorts
Class AbstractShortListIterator
java.lang.Object
it.unimi.dsi.fastutil.shorts.AbstractShortIterator
it.unimi.dsi.fastutil.shorts.AbstractShortBidirectionalIterator
it.unimi.dsi.fastutil.shorts.AbstractShortListIterator
- All Implemented Interfaces:
- BidirectionalIterator<Short>, ObjectBidirectionalIterator<Short>, ObjectIterator<Short>, ShortBidirectionalIterator, ShortIterator, ShortListIterator, Iterator<Short>, ListIterator<Short>
- Direct Known Subclasses:
- ShortIterators.EmptyIterator, ShortIterators.UnmodifiableListIterator
public abstract class AbstractShortListIterator
- extends AbstractShortBidirectionalIterator
- implements ShortListIterator
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractShortListIterator
protected AbstractShortListIterator()
set
public void set(Short ok)
- Delegates to the corresponding type-specific method.
- Specified by:
set
in interface ListIterator<Short>
add
public void add(Short ok)
- Delegates to the corresponding type-specific method.
- Specified by:
add
in interface ListIterator<Short>
set
public void set(short k)
- This method just throws an
UnsupportedOperationException
.
- Specified by:
set
in interface ShortListIterator
add
public void add(short k)
- This method just throws an
UnsupportedOperationException
.
- Specified by:
add
in interface ShortListIterator
Copyright © 2011. All Rights Reserved.