Class StringTextSegment.CodepointsCharacterIterator
java.lang.Object
com.github.weisj.jsvg.nodes.text.StringTextSegment.CodepointsCharacterIterator
- All Implemented Interfaces:
Cloneable, CharacterIterator
- Enclosing class:
StringTextSegment
private static final class StringTextSegment.CodepointsCharacterIterator
extends Object
implements CharacterIterator
-
Field Summary
FieldsFields inherited from interface CharacterIterator
DONE -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
codepoints
private final char[] codepoints -
index
private int index
-
-
Constructor Details
-
CodepointsCharacterIterator
private CodepointsCharacterIterator(char[] codepoints)
-
-
Method Details
-
first
public char first()- Specified by:
firstin interfaceCharacterIterator
-
last
public char last()- Specified by:
lastin interfaceCharacterIterator
-
current
public char current()- Specified by:
currentin interfaceCharacterIterator
-
next
public char next()- Specified by:
nextin interfaceCharacterIterator
-
previous
public char previous()- Specified by:
previousin interfaceCharacterIterator
-
setIndex
public char setIndex(int position) - Specified by:
setIndexin 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
-
clone
- Specified by:
clonein interfaceCharacterIterator- Overrides:
clonein classObject
-