it.unimi.dsi.fastutil.bytes
Class AbstractByteListIterator
java.lang.Object
it.unimi.dsi.fastutil.bytes.AbstractByteIterator
it.unimi.dsi.fastutil.bytes.AbstractByteBidirectionalIterator
it.unimi.dsi.fastutil.bytes.AbstractByteListIterator
- All Implemented Interfaces:
- BidirectionalIterator<Byte>, ByteBidirectionalIterator, ByteIterator, ByteListIterator, ObjectBidirectionalIterator<Byte>, ObjectIterator<Byte>, Iterator<Byte>, ListIterator<Byte>
- Direct Known Subclasses:
- ByteIterators.EmptyIterator, ByteIterators.UnmodifiableListIterator
public abstract class AbstractByteListIterator
- extends AbstractByteBidirectionalIterator
- implements ByteListIterator
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(Byte ok)
- Delegates to the corresponding type-specific method.
- Specified by:
set
in interface ListIterator<Byte>
add
public void add(Byte ok)
- Delegates to the corresponding type-specific method.
- Specified by:
add
in interface ListIterator<Byte>
set
public void set(byte k)
- This method just throws an
UnsupportedOperationException
.
- Specified by:
set
in interface ByteListIterator
add
public void add(byte k)
- This method just throws an
UnsupportedOperationException
.
- Specified by:
add
in interface ByteListIterator