Package com.intellij.util.text
Class CharSequenceCharacterIterator
- java.lang.Object
-
- com.intellij.util.text.CharSequenceCharacterIterator
-
- All Implemented Interfaces:
Cloneable
,CharacterIterator
public class CharSequenceCharacterIterator extends Object implements CharacterIterator
- Author:
- max
-
-
Field Summary
-
Fields inherited from interface java.text.CharacterIterator
DONE
-
-
Constructor Summary
Constructors Constructor Description CharSequenceCharacterIterator(CharSequence chars)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
char
current()
char
first()
int
getBeginIndex()
int
getEndIndex()
int
getIndex()
char
last()
char
next()
char
previous()
char
setIndex(int position)
-
-
-
Constructor Detail
-
CharSequenceCharacterIterator
public CharSequenceCharacterIterator(CharSequence chars)
-
-
Method Detail
-
current
public char current()
- Specified by:
current
in interfaceCharacterIterator
-
first
public char first()
- Specified by:
first
in interfaceCharacterIterator
-
last
public char last()
- Specified by:
last
in interfaceCharacterIterator
-
next
public char next()
- Specified by:
next
in interfaceCharacterIterator
-
previous
public char previous()
- Specified by:
previous
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
-
setIndex
public char setIndex(int position)
- Specified by:
setIndex
in interfaceCharacterIterator
-
clone
public Object clone()
- Specified by:
clone
in interfaceCharacterIterator
- Overrides:
clone
in classObject
-
-