protected static class AbstractCharList.PListIterator extends Object implements CharListIterator
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCharList.PListIterator(AbstractCharList list,
int start) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(char value)
Adds the specified value to the list underlying the iterator at the
current iteration index (optional operation).
|
void |
add(Character obj) |
boolean |
hasNext() |
boolean |
hasPrevious() |
boolean |
isModifiable()
Checks whether the iterator can currently be modified.
|
boolean |
isResettable()
Checks whether the iterator can be reset.
|
Character |
next() |
char |
nextChar()
Gets the next value from the iterator
|
int |
nextIndex() |
Character |
previous() |
char |
previousChar()
Gets the previous value from the iterator.
|
int |
previousIndex() |
void |
remove() |
void |
reset()
Resets the iterator back to its initial state (optional operation).
|
void |
set(char value)
Sets the last retrieved value from the iterator (optional operation).
|
void |
set(Character obj) |
protected AbstractCharList.PListIterator(AbstractCharList list, int start)
public boolean hasNext()
public char nextChar()
CharIteratornextChar in interface CharIteratorpublic int nextIndex()
nextIndex in interface ListIterator<Character>public boolean hasPrevious()
hasPrevious in interface ListIterator<Character>public char previousChar()
CharListIteratorpreviousChar in interface CharListIteratorpublic Character previous()
previous in interface ListIterator<Character>public int previousIndex()
previousIndex in interface ListIterator<Character>public void remove()
public void add(char value)
CharListIteratoradd in interface CharListIteratorvalue - the value to addpublic void add(Character obj)
add in interface ListIterator<Character>public void set(char value)
CharListIteratorset in interface CharListIteratorvalue - the value to setpublic void set(Character obj)
set in interface ListIterator<Character>public boolean isModifiable()
PrimitiveIteratorisModifiable in interface PrimitiveIterator<Character>true if the modification methods of the iterator can be usedpublic boolean isResettable()
PrimitiveIteratorisResettable in interface PrimitiveIterator<Character>true if the object can be resetpublic void reset()
PrimitiveIteratorreset in interface PrimitiveIterator<Character>Copyright © 2005-2012 Joda.org. All Rights Reserved.