-
Methods in java.io with parameters of type CharSequence
| Modifier and Type |
Method |
Description |
CharArrayWriter |
CharArrayWriter.append(CharSequence csq) |
Appends a CharSequence to the CharArrayWriter.
|
CharArrayWriter |
CharArrayWriter.append(CharSequence csq,
int start,
int end) |
Append a subsequence of a CharSequence to the
CharArrayWriter.
|
PrintStream |
PrintStream.append(CharSequence charSequence) |
Appends the CharSequence charSequence, or "null".
|
PrintStream |
PrintStream.append(CharSequence charSequence,
int start,
int end) |
Appends a subsequence of CharSequence charSequence, or "null".
|
PrintWriter |
PrintWriter.append(CharSequence csq) |
Appends the character sequence csq to the target.
|
PrintWriter |
PrintWriter.append(CharSequence csq,
int start,
int end) |
Appends a subsequence of the character sequence csq to the
target.
|
StringWriter |
StringWriter.append(CharSequence csq) |
Appends the character sequence csq to this writer's
StringBuffer.
|
StringWriter |
StringWriter.append(CharSequence csq,
int start,
int end) |
Appends a subsequence of the character sequence csq to this
writer's StringBuffer.
|
Writer |
Writer.append(CharSequence csq) |
Appends the character sequence csq to the target.
|
Writer |
Writer.append(CharSequence csq,
int start,
int end) |
Appends a subsequence of the character sequence csq to the
target.
|
-
Methods in java.lang that return CharSequence
| Modifier and Type |
Method |
Description |
CharSequence |
CharSequence.subSequence(int start,
int end) |
Returns a CharSequence from the start index (inclusive)
to the end index (exclusive) of this sequence.
|
CharSequence |
String.subSequence(int start,
int end) |
Has the same result as the substring function, but is present so that
string may implement the CharSequence interface.
|
CharSequence |
StringBuffer.subSequence(int start,
int end) |
|
Methods in java.lang with parameters of type CharSequence
| Modifier and Type |
Method |
Description |
Appendable |
Appendable.append(CharSequence csq) |
Appends the character sequence csq.
|
Appendable |
Appendable.append(CharSequence csq,
int start,
int end) |
Appends a subsequence of csq.
|
StringBuffer |
StringBuffer.append(CharSequence s) |
Appends the specified CharSequence to this buffer.
|
StringBuffer |
StringBuffer.append(CharSequence s,
int start,
int end) |
Appends the specified subsequence of the CharSequence to this buffer.
|
StringBuilder |
StringBuilder.append(CharSequence csq) |
Appends the string representation of the specified CharSequence.
|
StringBuilder |
StringBuilder.append(CharSequence csq,
int start,
int end) |
Appends the string representation of the specified subsequence of the
CharSequence.
|
static int |
Character.codePointAt(CharSequence seq,
int index) |
Returns the code point at index in the specified sequence of
character units.
|
static int |
Character.codePointBefore(CharSequence seq,
int index) |
Returns the code point that precedes index in the specified
sequence of character units.
|
static int |
Character.codePointCount(CharSequence seq,
int beginIndex,
int endIndex) |
Counts the number of Unicode code points in the subsequence of the
specified character sequence, as delineated by beginIndex and
endIndex.
|
boolean |
String.contains(CharSequence cs) |
Determines if this String contains the sequence of characters in
the CharSequence passed.
|
boolean |
String.contentEquals(CharSequence cs) |
Compares a CharSequence to this String to determine if
their contents are equal.
|
StringBuffer |
StringBuffer.insert(int index,
CharSequence s) |
Inserts the specified CharSequence into this buffer at the specified
index.
|
StringBuffer |
StringBuffer.insert(int index,
CharSequence s,
int start,
int end) |
Inserts the specified subsequence into this buffer at the specified
index.
|
StringBuilder |
StringBuilder.insert(int offset,
CharSequence s) |
Inserts the string representation of the specified CharSequence
at the specified offset.
|
StringBuilder |
StringBuilder.insert(int offset,
CharSequence s,
int start,
int end) |
Inserts the string representation of the specified subsequence of the
CharSequence at the specified offset.
|
static int |
Character.offsetByCodePoints(CharSequence seq,
int index,
int codePointOffset) |
Determines the index in the specified character sequence that is offset
codePointOffset code points from index.
|
String |
String.replace(CharSequence target,
CharSequence replacement) |
Copies this string replacing occurrences of the specified target sequence
with another sequence.
|
-
Methods in java.nio with parameters of type CharSequence
| Modifier and Type |
Method |
Description |
CharBuffer |
CharBuffer.append(CharSequence csq) |
Writes all chars of the given character sequence csq to the
current position of this buffer, and increases the position by the length
of the csq.
|
CharBuffer |
CharBuffer.append(CharSequence csq,
int start,
int end) |
Writes chars of the given CharSequence to the current position of
this buffer, and increases the position by the number of chars written.
|
static CharBuffer |
CharBuffer.wrap(CharSequence chseq) |
Creates a new char buffer by wrapping the given char sequence.
|
static CharBuffer |
CharBuffer.wrap(CharSequence cs,
int start,
int end) |
Creates a new char buffer by wrapping the given char sequence.
|
-
-
-
-