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<java.lang.Character>, CharBidirectionalIterator, CharIterator, CharListIterator, ObjectBidirectionalIterator<java.lang.Character>, ObjectIterator<java.lang.Character>, java.util.Iterator<java.lang.Character>, java.util.ListIterator<java.lang.Character>
- Direct Known Subclasses:
- CharIterators.EmptyIterator, CharIterators.UnmodifiableListIterator
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:
ListIterator
Method Summary |
void |
add(char k)
This method just throws an UnsupportedOperationException . |
void |
add(java.lang.Character ok)
Delegates to the corresponding type-specific method. |
void |
set(char k)
This method just throws an UnsupportedOperationException . |
void |
set(java.lang.Character ok)
Delegates to the corresponding type-specific method. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.ListIterator |
hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove |
set
public void set(java.lang.Character ok)
- Delegates to the corresponding type-specific method.
- Specified by:
set
in interface java.util.ListIterator<java.lang.Character>
add
public void add(java.lang.Character ok)
- Delegates to the corresponding type-specific method.
- Specified by:
add
in interface java.util.ListIterator<java.lang.Character>
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