class SubSequence
extends java.lang.Object
implements java.lang.CharSequence
Modifier and Type | Field and Description |
---|---|
private char[] |
chars |
private int |
end |
private int |
start |
Constructor and Description |
---|
SubSequence(char[] chars,
int start,
int end) |
Modifier and Type | Method and Description |
---|---|
char |
charAt(int index) |
int |
length() |
java.lang.CharSequence |
subSequence(int start,
int end) |
java.lang.String |
toString() |
private final char[] chars
private final int start
private final int end
public int length()
length
in interface java.lang.CharSequence
public char charAt(int index)
charAt
in interface java.lang.CharSequence
public java.lang.CharSequence subSequence(int start, int end)
subSequence
in interface java.lang.CharSequence
public java.lang.String toString()
toString
in interface java.lang.CharSequence
toString
in class java.lang.Object