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 Objectclone()charcurrent()charfirst()intgetBeginIndex()intgetEndIndex()intgetIndex()charlast()charnext()charprevious()charsetIndex(int position)
-
-
-
Constructor Detail
-
CharSequenceCharacterIterator
public CharSequenceCharacterIterator(CharSequence chars)
-
-
Method Detail
-
current
public char current()
- Specified by:
currentin interfaceCharacterIterator
-
first
public char first()
- Specified by:
firstin interfaceCharacterIterator
-
last
public char last()
- Specified by:
lastin interfaceCharacterIterator
-
next
public char next()
- Specified by:
nextin interfaceCharacterIterator
-
previous
public char previous()
- Specified by:
previousin interfaceCharacterIterator
-
getBeginIndex
public int getBeginIndex()
- Specified by:
getBeginIndexin interfaceCharacterIterator
-
getEndIndex
public int getEndIndex()
- Specified by:
getEndIndexin interfaceCharacterIterator
-
getIndex
public int getIndex()
- Specified by:
getIndexin interfaceCharacterIterator
-
setIndex
public char setIndex(int position)
- Specified by:
setIndexin interfaceCharacterIterator
-
clone
public Object clone()
- Specified by:
clonein interfaceCharacterIterator- Overrides:
clonein classObject
-
-