@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 and Description |
---|
StringCharacterIterator(String text)
Deprecated.
ICU 2.4. Use java.text.StringCharacterIterator instead.
|
StringCharacterIterator(String text,
int pos)
Deprecated.
ICU 2.4. Use java.text.StringCharacterIterator instead.
|
StringCharacterIterator(String text,
int begin,
int end,
int pos)
Deprecated.
ICU 2.4. Use java.text.StringCharacterIterator instead.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Deprecated.
ICU 2.4. Use java.text.StringCharacterIterator instead.
|
char |
current()
Deprecated.
ICU 2.4. Use java.text.StringCharacterIterator instead.
|
boolean |
equals(Object obj)
Deprecated.
ICU 2.4. Use java.text.StringCharacterIterator instead.
|
char |
first()
Deprecated.
ICU 2.4. Use java.text.StringCharacterIterator instead.
|
int |
getBeginIndex()
Deprecated.
ICU 2.4. Use java.text.StringCharacterIterator instead.
|
int |
getEndIndex()
Deprecated.
ICU 2.4. Use java.text.StringCharacterIterator instead.
|
int |
getIndex()
Deprecated.
ICU 2.4. Use java.text.StringCharacterIterator instead.
|
int |
hashCode()
Deprecated.
ICU 2.4. Use java.text.StringCharacterIterator instead.
|
char |
last()
Deprecated.
ICU 2.4. Use java.text.StringCharacterIterator instead.
|
char |
next()
Deprecated.
ICU 2.4. Use java.text.StringCharacterIterator instead.
|
char |
previous()
Deprecated.
ICU 2.4. Use java.text.StringCharacterIterator instead.
|
char |
setIndex(int p)
Deprecated.
ICU 2.4. Use java.text.StringCharacterIterator instead.
|
void |
setText(String text)
Deprecated.
ICU 2.4. Use java.text.StringCharacterIterator instead.
|
@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.