Cloneable
, CharacterIterator
@Deprecated public final class StringCharacterIterator extends Object implements CharacterIterator
StringCharacterIterator
implements the
CharacterIterater
protocol for a String
.
The StringCharacterIterator
class iterates over the
entire String
.CharacterIterator
DONE
Constructor | Description |
---|---|
StringCharacterIterator(String text) |
Deprecated.
ICU 2.4.
|
StringCharacterIterator(String text,
int pos) |
Deprecated.
ICU 2.4.
|
StringCharacterIterator(String text,
int begin,
int end,
int pos) |
Deprecated.
ICU 2.4.
|
Modifier and Type | Method | Description |
---|---|---|
Object |
clone() |
Deprecated.
ICU 2.4.
|
char |
current() |
Deprecated.
ICU 2.4.
|
boolean |
equals(Object obj) |
Deprecated.
ICU 2.4.
|
char |
first() |
Deprecated.
ICU 2.4.
|
int |
getBeginIndex() |
Deprecated.
ICU 2.4.
|
int |
getEndIndex() |
Deprecated.
ICU 2.4.
|
int |
getIndex() |
Deprecated.
ICU 2.4.
|
int |
hashCode() |
Deprecated.
ICU 2.4.
|
char |
last() |
Deprecated.
ICU 2.4.
|
char |
next() |
Deprecated.
ICU 2.4.
|
char |
previous() |
Deprecated.
ICU 2.4.
|
char |
setIndex(int p) |
Deprecated.
ICU 2.4.
|
void |
setText(String text) |
Deprecated.
ICU 2.4.
|
@Deprecated public StringCharacterIterator(String text)
@Deprecated public StringCharacterIterator(String text, int pos)
text
- The String to be iterated overpos
- Initial iterator position@Deprecated public StringCharacterIterator(String text, int begin, int end, int pos)
text
- The String to be iterated overbegin
- Index of the first characterend
- Index of the character following the last characterpos
- Initial iterator position@Deprecated public void setText(String text)
text
- The String to be iterated over@Deprecated public char first()
first
in interface CharacterIterator
CharacterIterator.first()
@Deprecated public char last()
last
in interface CharacterIterator
CharacterIterator.last()
@Deprecated public char setIndex(int p)
setIndex
in interface CharacterIterator
CharacterIterator.setIndex(int)
@Deprecated public char current()
current
in interface CharacterIterator
CharacterIterator.current()
@Deprecated public char next()
next
in interface CharacterIterator
CharacterIterator.next()
@Deprecated public char previous()
previous
in interface CharacterIterator
CharacterIterator.previous()
@Deprecated public int getBeginIndex()
getBeginIndex
in interface CharacterIterator
CharacterIterator.getBeginIndex()
@Deprecated public int getEndIndex()
getEndIndex
in interface CharacterIterator
CharacterIterator.getEndIndex()
@Deprecated public int getIndex()
getIndex
in interface CharacterIterator
CharacterIterator.getIndex()
@Deprecated public boolean equals(Object obj)
@Deprecated public int hashCode()
@Deprecated public Object clone()
clone
in interface CharacterIterator
clone
in class Object
Copyright ? 2016 Unicode, Inc. and others.