public class CompositeText.CompositeTextCharSequence extends Object implements TextCharSequence
Constructor and Description |
---|
CompositeTextCharSequence() |
Modifier and Type | Method and Description |
---|---|
char |
charAt(int index) |
TextLocation |
getCopyLocation(int index) |
TextLocation |
getLocation(int index) |
Text |
getText() |
int |
length() |
TextCharSequence |
subSequence(int start,
int end) |
Text |
subText(int start,
int end) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
chars, codePoints
public Text getText()
getText
in interface TextCharSequence
public int length()
length
in interface CharSequence
length
in interface TextCharSequence
public char charAt(int index)
charAt
in interface CharSequence
charAt
in interface TextCharSequence
public TextCharSequence subSequence(int start, int end)
subSequence
in interface CharSequence
subSequence
in interface TextCharSequence
start
- the start index, inclusiveend
- the end index, exclusivepublic Text subText(int start, int end)
subText
in interface TextCharSequence
start
- the start index, inclusiveend
- the end index, exclusivepublic TextLocation getLocation(int index)
getLocation
in interface TextCharSequence
public TextLocation getCopyLocation(int index)
public String toString()
toString
in interface CharSequence
toString
in interface TextCharSequence
toString
in class Object
Copyright © 2009–2017 SonarSource. All rights reserved.