Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Package | Description |
---|---|
java.nio | Defines buffers, which are containers for data, and provides an overview of the other NIO packages. |
Uses of Buffer in java.nio |
---|
Modifier and Type | Class and Description |
---|---|
class |
ByteBuffer
A byte buffer. |
class |
CharBuffer
A char 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. |
Modifier and Type | Method and Description |
---|---|
Buffer |
Buffer.clear()
Clears this buffer. |
Buffer |
Buffer.flip()
Flips this buffer. |
Buffer |
Buffer.limit(int newLimit)
Sets this buffer's limit. |
Buffer |
Buffer.mark()
Sets this buffer's mark at its position. |
Buffer |
Buffer.position(int newPosition)
Sets this buffer's position. |
Buffer |
Buffer.reset()
Resets this buffer's position to the previously-marked position. |
Buffer |
Buffer.rewind()
Rewinds this buffer. |
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.