it.unimi.dsi.fastutil.chars
Class AbstractCharListIterator
java.lang.Object
it.unimi.dsi.fastutil.chars.AbstractCharIterator
it.unimi.dsi.fastutil.chars.AbstractCharBidirectionalIterator
it.unimi.dsi.fastutil.chars.AbstractCharListIterator
- All Implemented Interfaces:
- BidirectionalIterator, CharBidirectionalIterator, CharIterator, CharListIterator, Iterator, ListIterator
- public abstract class AbstractCharListIterator
- extends AbstractCharBidirectionalIterator
- implements CharListIterator
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 ok)
- This method just invokes the type-specific version.
- Specified by:
set
in interface ListIterator
add
public void add(Object ok)
- This method just invokes the type-specific version.
- Specified by:
add
in interface ListIterator
set
public void set(char k)
- This method just throws an
UnsupportedOperationException
.
- Specified by:
set
in interface CharListIterator
add
public void add(char k)
- This method just throws an
UnsupportedOperationException
.
- Specified by:
add
in interface CharListIterator