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, waitchars, codePointspublic Text getText()
getText in interface TextCharSequencepublic int length()
length in interface CharSequencelength in interface TextCharSequencepublic char charAt(int index)
charAt in interface CharSequencecharAt in interface TextCharSequencepublic TextCharSequence subSequence(int start, int end)
subSequence in interface CharSequencesubSequence in interface TextCharSequencestart - the start index, inclusiveend - the end index, exclusivepublic Text subText(int start, int end)
subText in interface TextCharSequencestart - the start index, inclusiveend - the end index, exclusivepublic TextLocation getLocation(int index)
getLocation in interface TextCharSequencepublic TextLocation getCopyLocation(int index)
public String toString()
toString in interface CharSequencetoString in interface TextCharSequencetoString in class ObjectCopyright © 2009–2018 SonarSource. All rights reserved.