it.unimi.dsi.fastutil.longs
Class AbstractLongListIterator
java.lang.Object
it.unimi.dsi.fastutil.longs.AbstractLongIterator
it.unimi.dsi.fastutil.longs.AbstractLongBidirectionalIterator
it.unimi.dsi.fastutil.longs.AbstractLongListIterator
- All Implemented Interfaces:
- BidirectionalIterator<Long>, LongBidirectionalIterator, LongIterator, LongListIterator, ObjectBidirectionalIterator<Long>, ObjectIterator<Long>, Iterator<Long>, ListIterator<Long>
- Direct Known Subclasses:
- LongIterators.EmptyIterator, LongIterators.UnmodifiableListIterator
public abstract class AbstractLongListIterator
- extends AbstractLongBidirectionalIterator
- implements LongListIterator
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 |
AbstractLongListIterator
protected AbstractLongListIterator()
set
public void set(Long ok)
- Delegates to the corresponding type-specific method.
- Specified by:
set
in interface ListIterator<Long>
add
public void add(Long ok)
- Delegates to the corresponding type-specific method.
- Specified by:
add
in interface ListIterator<Long>
set
public void set(long k)
- This method just throws an
UnsupportedOperationException
.
- Specified by:
set
in interface LongListIterator
add
public void add(long k)
- This method just throws an
UnsupportedOperationException
.
- Specified by:
add
in interface LongListIterator
Copyright © 2011. All Rights Reserved.