Package com.ibm.icu.impl
Class CSCharacterIterator
java.lang.Object
com.ibm.icu.impl.CSCharacterIterator
- All Implemented Interfaces:
Cloneable
,CharacterIterator
Implement the Java CharacterIterator interface on a CharSequence.
Intended for internal use by ICU only.
-
Field Summary
FieldsFields inherited from interface java.text.CharacterIterator
DONE
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
index
private int index -
seq
-
-
Constructor Details
-
CSCharacterIterator
Constructor.- Parameters:
text
- The CharSequence to iterate over.
-
-
Method Details
-
first
public char first()- Specified by:
first
in interfaceCharacterIterator
-
last
public char last()- Specified by:
last
in interfaceCharacterIterator
-
current
public char current()- Specified by:
current
in interfaceCharacterIterator
-
next
public char next()- Specified by:
next
in interfaceCharacterIterator
-
previous
public char previous()- Specified by:
previous
in interfaceCharacterIterator
-
setIndex
public char setIndex(int position) - Specified by:
setIndex
in interfaceCharacterIterator
-
getBeginIndex
public int getBeginIndex()- Specified by:
getBeginIndex
in interfaceCharacterIterator
-
getEndIndex
public int getEndIndex()- Specified by:
getEndIndex
in interfaceCharacterIterator
-
getIndex
public int getIndex()- Specified by:
getIndex
in interfaceCharacterIterator
-
clone
- Specified by:
clone
in interfaceCharacterIterator
- Overrides:
clone
in classObject
-