java > java.nio > java.nio.charbuffer >

Class: java.nio.CharBuffer
    java.lang.Object
       java.nio.Buffer
               java.nio.CharBuffer


public abstract class CharBuffer extends Buffer implements Comparable, Appendable, CharSequence, Readable


FIELDS:

CONSTRUCTORS:

METHODS:
public static CharBuffer allocate(int capacity)
Throws: IllegalArgumentException

public CharBuffer append(char c)
Throws: BufferOverflowException
Throws: ReadOnlyBufferException

public CharBuffer append(CharSequence csq)
Throws: BufferOverflowException
Throws: ReadOnlyBufferException

public CharBuffer append(CharSequence csq, int start, int end)
Throws: BufferOverflowException
Throws: IndexOutOfBoundsException
Throws: ReadOnlyBufferException

public final char[] array()
Throws: ReadOnlyBufferException
Throws: UnsupportedOperationException
Overrides: Buffer

public final int arrayOffset()
Throws: ReadOnlyBufferException
Throws: UnsupportedOperationException
Overrides: Buffer

public abstract CharBuffer asReadOnlyBuffer()

public final char charAt(int index)
Throws: IndexOutOfBoundsException

public abstract CharBuffer compact()
Throws: ReadOnlyBufferException

public int compareTo(CharBuffer that)

public abstract CharBuffer duplicate()

public boolean equals(Object ob)
Overrides: Object

public abstract char get()
Throws: BufferUnderflowException

public CharBuffer get(char[] dst)
Throws: BufferUnderflowException

public CharBuffer get(char[] dst, int offset, int length)
Throws: BufferUnderflowException
Throws: IndexOutOfBoundsException

public abstract char get(int index)
Throws: IndexOutOfBoundsException

public final boolean hasArray()
Overrides: Buffer

public int hashCode()
Overrides: Object

public abstract boolean isDirect()
Overrides: Buffer

public final int length()

public abstract ByteOrder order()

public abstract CharBuffer put(char c)
Throws: BufferOverflowException
Throws: ReadOnlyBufferException

public final CharBuffer put(char[] src)
Throws: BufferOverflowException
Throws: ReadOnlyBufferException

public CharBuffer put(char[] src, int offset, int length)
Throws: BufferOverflowException
Throws: IndexOutOfBoundsException
Throws: ReadOnlyBufferException

public abstract CharBuffer put(int index, char c)
Throws: IndexOutOfBoundsException
Throws: ReadOnlyBufferException

public final CharBuffer put(String src)
Throws: BufferOverflowException
Throws: ReadOnlyBufferException

public CharBuffer put(String src, int start, int end)
Throws: BufferOverflowException
Throws: IndexOutOfBoundsException
Throws: ReadOnlyBufferException

public CharBuffer put(CharBuffer src)
Throws: BufferOverflowException
Throws: IllegalArgumentException
Throws: ReadOnlyBufferException

public int read(CharBuffer target)
Throws: IOException
Throws: NullPointerException
Throws: ReadOnlyBufferException

public abstract CharBuffer slice()

public abstract CharSequence subSequence(int start, int end)
Throws: IndexOutOfBoundsException

public String toString()
Overrides: Object

public static CharBuffer wrap(char[] array)

public static CharBuffer wrap(char[] array, int offset, int length)
Throws: IndexOutOfBoundsException

public static CharBuffer wrap(CharSequence csq)

public static CharBuffer wrap(CharSequence csq, int start, int end)
Throws: IndexOutOfBoundsException


INHERITED METHODS:
capacity(), position(), position(int), limit(), limit(int), mark(), reset(), clear(), flip(), rewind(), remaining(), hasRemaining(), isReadOnly(), hasArray(), array(), arrayOffset(), isDirect(), getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(),

SUBCLASSES:





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net