KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > nio > Buffer

java.nio
Class Buffer

java.lang.Object
  extended by java.nio.Buffer
Direct Known Subclasses:
ByteBuffer, CharBuffer, DoubleBuffer, FloatBuffer, IntBuffer, LongBuffer, ShortBuffer
See Also:
Top Examples, Source Code, isReadOnly, ReadOnlyBufferException, rewind(), flip(), clear(), InvalidMarkException, reset, IndexOutOfBoundsException, BufferOverflowException, BufferUnderflowException

public final int capacity()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final Buffer clear()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final Buffer flip()
See Also:
compact
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final boolean hasRemaining()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract boolean isReadOnly()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final int limit()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final Buffer limit(int newLimit)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final Buffer mark()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final int position()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final Buffer position(int newPosition)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final int remaining()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final Buffer reset()
See Also:
InvalidMarkException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final Buffer rewind()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags