Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.4.2
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
java.lang.CharSequence

Packages that use CharSequence
java.lang | Provides classes that are fundamental to the design of the Java programming language.
java.nio | Defines buffers, which are containers for data, and provides an overview of the other NIO packages.
java.nio.charset | Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters.
java.util.regex | Classes for matching character sequences against patterns specified by regular expressions.

Uses of CharSequence in java.lang

Classes in java.lang that implement CharSequence
`class` | `String` The `String` class represents character strings.
`class` | `StringBuffer` A string buffer implements a mutable sequence of characters.

Methods in java.lang that return CharSequence
`CharSequence` | `StringBuffer.subSequence(int start, int end)` Returns a new character sequence that is a subsequence of this sequence.
`CharSequence` | `CharSequence.subSequence(int start, int end)` Returns a new character sequence that is a subsequence of this sequence.
`CharSequence` | `String.subSequence(int beginIndex, int endIndex)` Returns a new character sequence that is a subsequence of this sequence.

Uses of CharSequence in java.nio

Classes in java.nio that implement CharSequence
`class` | `CharBuffer` A character buffer.

Methods in java.nio that return CharSequence
`abstract CharSequence` | `CharBuffer.subSequence(int start, int end)` Creates a new character buffer that represents the specified subsequence of this buffer, relative to the current position.

Methods in java.nio with parameters of type CharSequence
`static CharBuffer` | `CharBuffer.wrap(CharSequence csq, int start, int end)` Wraps a character sequence into a buffer.
`static CharBuffer` | `CharBuffer.wrap(CharSequence csq)` Wraps a string into a buffer.

Uses of CharSequence in java.nio.charset

Methods in java.nio.charset with parameters of type CharSequence
`boolean` | `CharsetEncoder.canEncode(CharSequence cs)` Tells whether or not this encoder can encode the given character sequence.

Uses of CharSequence in java.util.regex

Methods in java.util.regex with parameters of type CharSequence
`Matcher` | `Matcher.reset(CharSequence input)` Resets this matcher with a new input sequence.
`Matcher` | `Pattern.matcher(CharSequence input)` Creates a matcher that will match the given input against this pattern.
`static boolean` | `Pattern.matches(String regex, CharSequence input)` Compiles the given regular expression and attempts to match the given input against it.
`String[]` | `Pattern.split(CharSequence input, int limit)` Splits the given input sequence around matches of this pattern.
`String[]` | `Pattern.split(CharSequence input)` Splits the given input sequence around matches of this pattern.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.4.2
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.