|
|||||||||
| Home >> All >> java >> [ lang overview ] | PREV NEXT | ||||||||
Uses of Interface
java.lang.CharSequence
| Uses of CharSequence in java.lang |
| Classes in java.lang that implement CharSequence | |
class |
String
Strings represent an immutable set of characters. |
class |
StringBuffer
StringBuffer represents a changeable String. |
class |
StringBuilder
StringBuilder represents a changeable String. |
| Methods in java.lang that return CharSequence | |
CharSequence |
CharSequence.subSequence(int begin,
int end)
Returns a new CharSequence of the indicated range. |
CharSequence |
String.subSequence(int begin,
int end)
Creates a substring of this String, starting at a specified index and ending at one character before a specified index. |
CharSequence |
StringBuffer.subSequence(int beginIndex,
int endIndex)
Creates a substring of this StringBuffer, starting at a specified index and ending at one character before a specified index. |
CharSequence |
StringBuilder.subSequence(int beginIndex,
int endIndex)
Creates a substring of this StringBuilder, starting at a specified index and ending at one character before a specified index. |
| Methods in java.lang with parameters of type CharSequence | |
boolean |
String.contentEquals(CharSequence seq)
Compares the given CharSequence to this String. |
boolean |
String.contains(CharSequence s)
Returns true iff this String contains the sequence of Characters described in s. |
String |
String.replace(CharSequence target,
CharSequence replacement)
Returns a string that is this string with all instances of the sequence represented by target replaced by the sequence in
replacement. |
Appendable |
Appendable.append(CharSequence seq)
Appends the specified sequence of Unicode characters to this Appendable object. |
Appendable |
Appendable.append(CharSequence seq,
int start,
int end)
Appends the specified subsequence of Unicode characters to this Appendable object, starting and ending at the specified
positions within the sequence. |
StringBuffer |
StringBuffer.append(CharSequence sequence)
Append the CharSequence value of the argument to this
StringBuffer. |
StringBuffer |
StringBuffer.append(CharSequence sequence,
int start,
int end)
Append the specified subsequence of the CharSequence
argument to this StringBuffer. |
StringBuffer |
StringBuffer.insert(int offset,
CharSequence sequence)
Insert the CharSequence argument into this
StringBuffer. |
StringBuffer |
StringBuffer.insert(int offset,
CharSequence sequence,
int start,
int end)
Insert a subsequence of the CharSequence argument into this
StringBuffer. |
static int |
Character.offsetByCodePoints(CharSequence seq,
int index,
int codePointOffset)
Returns the index into the given CharSequence that is offset codePointOffset code points from index. |
static int |
Character.codePointCount(CharSequence seq,
int beginIndex,
int endIndex)
Returns the number of Unicode code points in the specified range of the given CharSequence. |
static int |
Character.codePointAt(CharSequence sequence,
int index)
Get the code point at the specified index in the CharSequence. |
static int |
Character.codePointBefore(CharSequence sequence,
int index)
Get the code point before the specified index. |
StringBuilder |
StringBuilder.append(CharSequence seq)
Append the characters in the CharSequence to this
buffer. |
StringBuilder |
StringBuilder.append(CharSequence seq,
int start,
int end)
Append some characters from the CharSequence to this
buffer. |
StringBuilder |
StringBuilder.insert(int offset,
CharSequence sequence)
Insert the CharSequence argument into this
StringBuilder. |
StringBuilder |
StringBuilder.insert(int offset,
CharSequence sequence,
int start,
int end)
Insert a subsequence of the CharSequence argument into this
StringBuilder. |
| Constructors in java.lang with parameters of type CharSequence | |
StringBuffer(CharSequence sequence)
Create a new StringBuffer with the characters from the
specified CharSequence. |
|
StringBuilder(CharSequence seq)
Create a new StringBuilder with the characters in the
specified CharSequence. |
|
|
|||||||||
| Home >> All >> java >> [ lang overview ] | PREV NEXT | ||||||||