|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.joda.primitives.list.impl.AbstractCharList.PListIterator
protected static class AbstractCharList.PListIterator
List iterator.
| Constructor Summary | |
|---|---|
protected |
AbstractCharList.PListIterator(AbstractCharList list,
int start)
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractCharList.PListIterator(AbstractCharList list,
int start)
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface Iterator<Character>hasNext in interface ListIterator<Character>public char nextChar()
CharIterator
nextChar in interface CharIteratorpublic Character next()
next in interface Iterator<Character>next in interface ListIterator<Character>public int nextIndex()
nextIndex in interface ListIterator<Character>public boolean hasPrevious()
hasPrevious in interface ListIterator<Character>public char previousChar()
CharListIterator
previousChar in interface CharListIteratorpublic Character previous()
previous in interface ListIterator<Character>public int previousIndex()
previousIndex in interface ListIterator<Character>public void remove()
remove in interface Iterator<Character>remove in interface ListIterator<Character>public void add(char value)
CharListIterator
add in interface CharListIteratorvalue - the value to addpublic void add(Character obj)
add in interface ListIterator<Character>public void set(char value)
CharListIterator
set in interface CharListIteratorvalue - the value to setpublic void set(Character obj)
set in interface ListIterator<Character>public boolean isModifiable()
PrimitiveIterator
isModifiable in interface PrimitiveIterator<Character>true if the modification methods of the iterator can be usedpublic boolean isResettable()
PrimitiveIterator
isResettable in interface PrimitiveIterator<Character>true if the object can be resetpublic void reset()
PrimitiveIterator
reset in interface PrimitiveIterator<Character>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||