it.unimi.dsi.fastutil.ints
Class AbstractIntListIterator
java.lang.Object
it.unimi.dsi.fastutil.ints.AbstractIntIterator
it.unimi.dsi.fastutil.ints.AbstractIntBidirectionalIterator
it.unimi.dsi.fastutil.ints.AbstractIntListIterator
- All Implemented Interfaces:
- BidirectionalIterator<Integer>, IntBidirectionalIterator, IntIterator, IntListIterator, ObjectBidirectionalIterator<Integer>, ObjectIterator<Integer>, Iterator<Integer>, ListIterator<Integer>
- Direct Known Subclasses:
- IntIterators.EmptyIterator, IntIterators.UnmodifiableListIterator
public abstract class AbstractIntListIterator
- extends AbstractIntBidirectionalIterator
- implements IntListIterator
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 |
AbstractIntListIterator
protected AbstractIntListIterator()
set
public void set(Integer ok)
- Delegates to the corresponding type-specific method.
- Specified by:
set
in interface ListIterator<Integer>
add
public void add(Integer ok)
- Delegates to the corresponding type-specific method.
- Specified by:
add
in interface ListIterator<Integer>
set
public void set(int k)
- This method just throws an
UnsupportedOperationException
.
- Specified by:
set
in interface IntListIterator
add
public void add(int k)
- This method just throws an
UnsupportedOperationException
.
- Specified by:
add
in interface IntListIterator
Copyright © 2011. All Rights Reserved.