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

## Uses of Class
java.nio.Buffer

Packages that use Buffer
java.nio | Defines buffers, which are containers for data, and provides an overview of the other NIO packages.

Uses of Buffer in java.nio

Subclasses of Buffer in java.nio
`class` | `ByteBuffer` A byte buffer.
`class` | `CharBuffer` A character buffer.
`class` | `DoubleBuffer` A double buffer.
`class` | `FloatBuffer` A float buffer.
`class` | `IntBuffer` An int buffer.
`class` | `LongBuffer` A long buffer.
`class` | `MappedByteBuffer` A direct byte buffer whose content is a memory-mapped region of a file.
`class` | `ShortBuffer` A short buffer.

Methods in java.nio that return Buffer
`Buffer` | `Buffer.position(int newPosition)` Sets this buffer's position.
`Buffer` | `Buffer.limit(int newLimit)` Sets this buffer's limit.
`Buffer` | `Buffer.mark()` Sets this buffer's mark at its position.
`Buffer` | `Buffer.reset()` Resets this buffer's position to the previously-marked position.
`Buffer` | `Buffer.clear()` Clears this buffer.
`Buffer` | `Buffer.flip()` Flips this buffer.
`Buffer` | `Buffer.rewind()` Rewinds this buffer.

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.