public class SingleCharSequence
extends java.lang.Object
implements java.lang.CharSequence
Constructor and Description |
---|
SingleCharSequence(char ch) |
Modifier and Type | Method and Description |
---|---|
char |
charAt(int index) |
int |
length() |
java.lang.CharSequence |
subSequence(int start,
int end) |
java.lang.String |
toString() |
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