* java/nio/Buffer.java (cap, lim, pos, mark): Made private (Buffer): Added package private constructor. * java/nio/ByteBuffer.java (ByteBuffer): Implements Cloneable. (offset): New member variable. (readOnly): New member variable. (backing_buffer): New member variable. (allocateDirect): Throw exception and tell that direct buffers are not supported yet, documentation added. (allocate): Documentation added. (wrap): Documentation added. (ByteBuffer): New constructor. (hasArray): New method. (array): New method. (arrayOffset): New method. (get): Documentation added. (put): Documentation added. * java/nio/CharBuffer.java (CharBuffer): New constructor. (compareTo): Don't access member variables of Buffer directly. * java/nio/DoubleBuffer.java (allocateDirect): Throw exception and tell that direct buffers are not supported yet. * java/nio/FloatBuffer.java (allocateDirect): Throw exception and tell that direct buffers are not supported yet. * java/nio/IntBuffer.java (allocateDirect): Throw exception and tell that direct buffers are not supported yet. * java/nio/LongBuffer.java (allocateDirect): Throw exception and tell that direct buffers are not supported yet. * java/nio/MappedByteBuffer.java (MappedByteBuffer): New method. (force): New method. (isLoaded): New method. (load): New method. * java/nio/ShortBuffer.java (allocateDirect): Throw exception and tell that direct buffers are not supported yet. From-SVN: r62685
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| channels | Loading commit data... | |
| charset | Loading commit data... | |
| Buffer.java | Loading commit data... | |
| BufferOverflowException.java | Loading commit data... | |
| BufferUnderflowException.java | Loading commit data... | |
| ByteBuffer.java | Loading commit data... | |
| ByteOrder.java | Loading commit data... | |
| CharBuffer.java | Loading commit data... | |
| DoubleBuffer.java | Loading commit data... | |
| FloatBuffer.java | Loading commit data... | |
| IntBuffer.java | Loading commit data... | |
| InvalidMarkException.java | Loading commit data... | |
| LongBuffer.java | Loading commit data... | |
| MappedByteBuffer.java | Loading commit data... | |
| ReadOnlyBufferException.java | Loading commit data... | |
| ShortBuffer.java | Loading commit data... |