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