Class AbstractObjectListIterator<K>
- java.lang.Object
-
- org.codelibs.jhighlight.fastutil.objects.AbstractObjectIterator<K>
-
- org.codelibs.jhighlight.fastutil.objects.AbstractObjectBidirectionalIterator<K>
-
- org.codelibs.jhighlight.fastutil.objects.AbstractObjectListIterator<K>
-
- All Implemented Interfaces:
Iterator<K>,ListIterator<K>,BidirectionalIterator<K>,ObjectBidirectionalIterator<K>,ObjectIterator<K>,ObjectListIterator<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()andadd()which throw anUnsupportedOperationException. For primitive types, it also provides a trivial implementation ofset()andadd()that just invokes the type-specific one.- See Also:
ListIterator
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractObjectListIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(K k)This method just throws anUnsupportedOperationException.voidset(K k)This method just throws anUnsupportedOperationException.-
Methods inherited from class org.codelibs.jhighlight.fastutil.objects.AbstractObjectBidirectionalIterator
back
-
Methods inherited from class org.codelibs.jhighlight.fastutil.objects.AbstractObjectIterator
remove, skip
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.codelibs.jhighlight.fastutil.BidirectionalIterator
hasPrevious, previous
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Methods inherited from interface java.util.ListIterator
hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove
-
Methods inherited from interface org.codelibs.jhighlight.fastutil.objects.ObjectBidirectionalIterator
back
-
Methods inherited from interface org.codelibs.jhighlight.fastutil.objects.ObjectIterator
skip
-
-
-
-
Method Detail
-
set
public void set(K k)
This method just throws anUnsupportedOperationException.- Specified by:
setin interfaceListIterator<K>
-
add
public void add(K k)
This method just throws anUnsupportedOperationException.- Specified by:
addin interfaceListIterator<K>
-
-