Modifier and Type | Method and Description |
---|---|
static CharBuffer |
CharBuffer.allocate(int capacity)
Allocates a new char buffer.
|
CharBuffer |
CharBuffer.append(char c)
Appends the specified char to this
buffer (optional operation).
|
CharBuffer |
CharBuffer.append(java.lang.CharSequence csq)
Appends the specified character sequence to this
buffer (optional operation).
|
CharBuffer |
CharBuffer.append(java.lang.CharSequence csq,
int start,
int end)
Appends a subsequence of the specified character sequence to this
buffer (optional operation).
|
abstract CharBuffer |
ByteBuffer.asCharBuffer()
Creates a view of this byte buffer as a char buffer.
|
abstract CharBuffer |
CharBuffer.asReadOnlyBuffer()
Creates a new, read-only char buffer that shares this buffer's
content.
|
abstract CharBuffer |
CharBuffer.compact()
Compacts this buffer (optional operation).
|
abstract CharBuffer |
CharBuffer.duplicate()
Creates a new char buffer that shares this buffer's content.
|
CharBuffer |
CharBuffer.get(char[] dst)
Relative bulk get method.
|
CharBuffer |
CharBuffer.get(char[] dst,
int offset,
int length)
Relative bulk get method.
|
abstract CharBuffer |
CharBuffer.put(char c)
Relative put method (optional operation).
|
CharBuffer |
CharBuffer.put(char[] src)
Relative bulk put method (optional operation).
|
CharBuffer |
CharBuffer.put(char[] src,
int offset,
int length)
Relative bulk put method (optional operation).
|
CharBuffer |
CharBuffer.put(CharBuffer src)
Relative bulk put method (optional operation).
|
abstract CharBuffer |
CharBuffer.put(int index,
char c)
Absolute put method (optional operation).
|
CharBuffer |
CharBuffer.put(java.lang.String src)
Relative bulk put method (optional operation).
|
CharBuffer |
CharBuffer.put(java.lang.String src,
int start,
int end)
Relative bulk put method (optional operation).
|
abstract CharBuffer |
CharBuffer.slice()
Creates a new char buffer whose content is a shared subsequence of
this buffer's content.
|
abstract CharBuffer |
CharBuffer.subSequence(int start,
int end)
Creates a new character buffer that represents the specified subsequence
of this buffer, relative to the current position.
|
static CharBuffer |
CharBuffer.wrap(char[] array)
Wraps a char array into a buffer.
|
static CharBuffer |
CharBuffer.wrap(char[] array,
int offset,
int length)
Wraps a char array into a buffer.
|
static CharBuffer |
CharBuffer.wrap(java.lang.CharSequence csq)
Wraps a character sequence into a buffer.
|
static CharBuffer |
CharBuffer.wrap(java.lang.CharSequence csq,
int start,
int end)
Wraps a character sequence into a buffer.
|
Modifier and Type | Method and Description |
---|---|
int |
CharBuffer.compareTo(CharBuffer that)
Compares this buffer to another.
|
CharBuffer |
CharBuffer.put(CharBuffer src)
Relative bulk put method (optional operation).
|
int |
CharBuffer.read(CharBuffer target)
Attempts to read characters into the specified character buffer.
|