Uses of Interface java.lang.CharSequence

Uses in package java.util.regex

Methods with parameter type java.lang.CharSequence

Matcher
boolean
Matcher
String[]
String[]
Pattern.split(CharSequence input, int limit)

Uses in package java.lang

Classes implementing java.lang.CharSequence

class
Strings represent an immutable set of characters.
class
StringBuffer represents a changeable String.
class
StringBuilder represents a changeable String.

Constructors with parameter type java.lang.CharSequence

Create a new StringBuffer with the characters in the specified CharSequence.
Create a new StringBuilder with the characters in the specified CharSequence.

Methods with parameter type java.lang.CharSequence

Appendable
Appends the specified sequence of Unicode characters to this Appendable object.
StringBuffer
Append the characters in the CharSequence to this buffer.
StringBuilder
Append the characters in the CharSequence to this buffer.
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 seq, int start, int end)
Append some characters from the CharSequence to this buffer.
StringBuilder
StringBuilder.append(CharSequence seq, int start, int end)
Append some characters from the CharSequence to this buffer.
int
Character.codePointAt(CharSequence sequence, int index)
Get the code point at the specified index in the CharSequence.
int
Character.codePointBefore(CharSequence sequence, int index)
Get the code point before the specified index.
int
Character.codePointCount(CharSequence seq, int beginIndex, int endIndex)
Returns the number of Unicode code points in the specified range of the given CharSequence.
boolean
Returns true iff this String contains the sequence of Characters described in s.
boolean
Compares the given CharSequence to this String.
StringBuffer
StringBuffer.insert(int offset, CharSequence sequence)
Insert the CharSequence argument into this StringBuffer.
StringBuilder
StringBuilder.insert(int offset, CharSequence sequence)
Insert the CharSequence argument into this StringBuilder.
StringBuffer
StringBuffer.insert(int offset, CharSequence sequence, int start, int end)
Insert a subsequence of the CharSequence argument into this StringBuffer.
StringBuilder
StringBuilder.insert(int offset, CharSequence sequence, int start, int end)
Insert a subsequence of the CharSequence argument into this StringBuilder.
int
Character.offsetByCodePoints(CharSequence seq, int index, int codePointOffset)
Returns the index into the given CharSequence that is offset codePointOffset code points from index.
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.

Methods with return type java.lang.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.

Uses in package java.nio.charset

Methods with parameter type java.lang.CharSequence

boolean

Uses in package java.io

Methods with parameter type java.lang.CharSequence

CharArrayWriter
Appends the specified sequence of Unicode characters to the output stream underlying this writer.
PrintStream
PrintWriter
StringWriter
Writer
CharArrayWriter
CharArrayWriter.append(CharSequence cs, int start, int end)
Appends the specified subsequence of Unicode characters to the output stream underlying this writer, starting and ending at the specified positions within the sequence.
PrintStream
PrintStream.append(CharSequence cs, int start, int end)
PrintWriter
PrintWriter.append(CharSequence cs, int start, int end)
StringWriter
StringWriter.append(CharSequence cs, int start, int end)
Writer
Writer.append(CharSequence cs, int start, int end)

Uses in package java.nio

Classes implementing java.lang.CharSequence

class

Methods with parameter type java.lang.CharSequence

CharBuffer
CharBuffer
CharBuffer.append(CharSequence cs, int start, int end)
CharBuffer
Wraps a character sequence into a CharBuffer object.
CharBuffer
CharBuffer.wrap(CharSequence seq, int start, int end)
Wraps a character sequence into a CharBuffer object.

Methods with return type java.lang.CharSequence

CharSequence
CharBuffer.subSequence(int start, int length)
Creates a new character buffer that represents the specified subsequence of this buffer, relative to the current position.