public class CharSequenceWrapper
extends java.lang.Object
implements java.lang.CharSequence, java.io.Serializable
Modifier and Type | Method and Description |
---|---|
char |
charAt(int index) |
boolean |
equals(java.lang.Object other) |
java.lang.CharSequence |
get() |
int |
hashCode() |
int |
length() |
CharSequenceWrapper |
set(java.lang.CharSequence newWrapped) |
java.lang.CharSequence |
subSequence(int start,
int end) |
java.lang.String |
toString() |
static CharSequenceWrapper |
wrap(java.lang.CharSequence seq) |
public static CharSequenceWrapper wrap(java.lang.CharSequence seq)
public CharSequenceWrapper set(java.lang.CharSequence newWrapped)
public java.lang.CharSequence get()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
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