diff options
author | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-11 07:42:17 +0000 |
---|---|---|
committer | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-11 07:42:17 +0000 |
commit | 2ff2d74f119d57b698fe9af60da90063d5551df2 (patch) | |
tree | df6f5ea53dd4c1bc3ba3577fe38a432e6c8f2672 /libjava/java/nio/FloatBuffer.java | |
parent | 522a6303c5f66be2adb3caddc35920b6d06d9196 (diff) | |
download | ppe42-gcc-2ff2d74f119d57b698fe9af60da90063d5551df2.tar.gz ppe42-gcc-2ff2d74f119d57b698fe9af60da90063d5551df2.zip |
2003-02-11 Michael Koch <konqueror@gmx.de>
* 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
Diffstat (limited to 'libjava/java/nio/FloatBuffer.java')
-rw-r--r-- | libjava/java/nio/FloatBuffer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/nio/FloatBuffer.java b/libjava/java/nio/FloatBuffer.java index 7cabd964951..b780ff597d8 100644 --- a/libjava/java/nio/FloatBuffer.java +++ b/libjava/java/nio/FloatBuffer.java @@ -46,7 +46,7 @@ public abstract class FloatBuffer extends Buffer implements Comparable public static FloatBuffer allocateDirect(int capacity) { - return new FloatBufferImpl (capacity, 0, capacity); + throw new Error ("direct buffers not implemented"); } public static FloatBuffer allocate(int capacity) |