summaryrefslogtreecommitdiffstats
path: root/libjava/java/nio/Buffer.java
Commit message (Collapse)AuthorAgeFilesLines
* 2003-06-24 Michael Koch <konqueror@gmx.de>mkoch2003-06-241-4/+5
| | | | | | | | | | | * java/nio/Buffer.java (cap): Made package-private. (pos): Likewise. (limit): Likewise. (mark): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68417 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-05-19 Michael Koch <konqueror@gmx.de>mkoch2003-05-191-1/+1
| | | | | | | | | | | | | | | | | | | | * gnu/java/nio/ByteBufferImpl.java (putLong): Fixed conversion to bytes. (putDouble): Fixed conversion to bytes. * gnu/java/nio/DirectByteBufferImpl.java (putLong): Fixed conversion to bytes. (putDouble): Fixed conversion to bytes. * gnu/java/nio/FileLockImpl.java (isValid): Reformatted. * java/nio/Buffer.java (Buffer): Fixed off-by-one bug in handling mark. * java/nio/ByteBuffer.java: Added newline. * java/nio/CharBuffer.java (toString): Don't use relative get to get string data. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66946 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Michael Koch <konqueror@gmx.de>mkoch2003-02-111-5/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62685 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-13 Michael Koch <konqueror@gmx.de>mkoch2002-11-131-0/+151
| | | | | | | | | | | | | | | | | | | | | | * java/nio/Buffer.java: Implemented. * java/nio/CharBuffer.java: New file. * java/nio/InvalidMarkException.java: New file. * java/nio/channels/DatagramChannel.java: Implemented. * java/nio/channels/ServerSocketChannel.java: Implemented. * java/nio/channels/SocketChannel.java: Implemented. * java/nio/channels/spi/AbstractChannel.java: Removed. * java/nio/channels/spi/AbstractSelectableChannel.java: Implemented. * java/nio/charset/Charset.java: Merge from Classpath. * java/nio/charset/CharsetDecoder.java: New file. * java/nio/charset/CharsetEncoder.java: New file. * java/nio/charset/CoderResult.java: New file. * Makefile.am (ordinary_java_source_files): Added new files. * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59075 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-10-07 Michael Koch <konqueror@gmx.de>mkoch2002-10-071-0/+42
* java/nio/Buffer.java: New stub file. * java/nio/charset/spi/CharsetProvider.java: Commented out all usages of class Charset. * Makefile.am (java_native_source_files): Added java/nio/Buffer.java. * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57901 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud