| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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 | ByteBufferA byte buffer. | 
|  class | CharBufferA character buffer. | 
|  class | DoubleBufferA double buffer. | 
|  class | FloatBufferA float buffer. | 
|  class | IntBufferAn int buffer. | 
|  class | LongBufferA long buffer. | 
|  class | MappedByteBufferA direct byte buffer whose content is a memory-mapped region of a file. | 
|  class | ShortBufferA short buffer. | 
| Methods in java.nio that return Buffer | |
|---|---|
|  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. | 
| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.