Package java.nio

Class Summary
Buffer sample code for java.nio.Buffer definition code for java.nio.Buffer A container for data of a specific primitive type.
ByteBuffer sample code for java.nio.ByteBuffer definition code for java.nio.ByteBuffer A byte buffer.
ByteOrder sample code for java.nio.ByteOrder definition code for java.nio.ByteOrder A typesafe enumeration for byte orders.
CharBuffer sample code for java.nio.CharBuffer definition code for java.nio.CharBuffer A character buffer.
DoubleBuffer sample code for java.nio.DoubleBuffer definition code for java.nio.DoubleBuffer A double buffer.
FloatBuffer sample code for java.nio.FloatBuffer definition code for java.nio.FloatBuffer A float buffer.
IntBuffer sample code for java.nio.IntBuffer definition code for java.nio.IntBuffer An int buffer.
LongBuffer sample code for java.nio.LongBuffer definition code for java.nio.LongBuffer A long buffer.
MappedByteBuffer sample code for java.nio.MappedByteBuffer definition code for java.nio.MappedByteBuffer A direct byte buffer whose content is a memory-mapped region of a file.
ShortBuffer sample code for java.nio.ShortBuffer definition code for java.nio.ShortBuffer A short buffer.

Exception Summary
BufferOverflowException sample code for java.nio.BufferOverflowException definition code for java.nio.BufferOverflowException Unchecked exception thrown when a relative put operation reaches the target buffer's limit.
BufferUnderflowException sample code for java.nio.BufferUnderflowException definition code for java.nio.BufferUnderflowException Unchecked exception thrown when a relative get operation reaches the source buffer's limit.
InvalidMarkException sample code for java.nio.InvalidMarkException definition code for java.nio.InvalidMarkException Unchecked exception thrown when an attempt is made to reset a buffer when its mark is not defined.
ReadOnlyBufferException sample code for java.nio.ReadOnlyBufferException definition code for java.nio.ReadOnlyBufferException Unchecked exception thrown when a content-mutation method such as put or compact is invoked upon a read-only buffer.