it.unimi.dsi.fastutil.objects
Class AbstractObjectListIterator<K>
java.lang.Object
it.unimi.dsi.fastutil.objects.AbstractObjectIterator<K>
it.unimi.dsi.fastutil.objects.AbstractObjectBidirectionalIterator<K>
it.unimi.dsi.fastutil.objects.AbstractObjectListIterator<K>
- All Implemented Interfaces:
- BidirectionalIterator<K>, ObjectBidirectionalIterator<K>, ObjectIterator<K>, ObjectListIterator<K>, Iterator<K>, ListIterator<K>
- Direct Known Subclasses:
- ObjectIterators.EmptyIterator, ObjectIterators.UnmodifiableListIterator
public abstract class AbstractObjectListIterator<K>
- extends AbstractObjectBidirectionalIterator<K>
- implements ObjectListIterator<K>
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
set
public void set(K k)
- This method just throws an
UnsupportedOperationException
.
- Specified by:
set
in interface ListIterator<K>
add
public void add(K k)
- This method just throws an
UnsupportedOperationException
.
- Specified by:
add
in interface ListIterator<K>