public static class CharListRO.CharIterator extends Object implements ListIterator<Character>
| Modifier and Type | Field and Description |
|---|---|
protected Character |
chr |
protected int |
from |
protected int |
length |
protected int |
offset |
protected String |
src |
| Constructor and Description |
|---|
CharIterator(String source,
int from,
int length) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Character e) |
boolean |
hasNext() |
boolean |
hasPrevious() |
Character |
next() |
int |
nextIndex() |
Character |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(Character e) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected String src
protected int offset
protected Character chr
protected int from
protected int length
public CharIterator(String source, int from, int length)
public boolean hasNext()
public Character next()
public void remove()
public boolean hasPrevious()
hasPrevious in interface ListIterator<Character>public Character previous()
previous in interface ListIterator<Character>public int nextIndex()
nextIndex in interface ListIterator<Character>public int previousIndex()
previousIndex in interface ListIterator<Character>public void set(Character e)
set in interface ListIterator<Character>public void add(Character e)
add in interface ListIterator<Character>Copyright © 2018. All rights reserved.