summaryrefslogtreecommitdiffstats
path: root/libjava/gnu/java/nio/DoubleBufferImpl.java
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-09 07:55:59 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-09 07:55:59 +0000
commit33126533ba216e3170b11497a036d6514a45228e (patch)
tree16dd377894dfcb8d80f85ad93c37bb5fb9d4fdf0 /libjava/gnu/java/nio/DoubleBufferImpl.java
parent23963e00b9d27b5e75fafa84c794b45fafd72638 (diff)
downloadppe42-gcc-33126533ba216e3170b11497a036d6514a45228e.tar.gz
ppe42-gcc-33126533ba216e3170b11497a036d6514a45228e.zip
2003-05-09 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/ByteBufferImpl.java (nio_cast): Removed. (ByteBufferImpl): Removed. (nio_get_Byte): Removed. (nio_put_Byte): Removed. (asByteBuffer): Removed. (asCharBuffer): Removed implementation and throw exception. (asShortBuffer): Likewise. (asIntBuffer): Likewise. (asLongBuffer): Likewise. (asFloatBuffer): Likewise. (asDoubleBuffer): Likewise. * gnu/java/nio/CharBufferImpl.java (CharBufferImpl): Removed. (nio_get_Byte): Removed. (nio_put_Byte): Removed. (asByteBuffer): Removed. * gnu/java/nio/DoubleBufferImpl.java (DoubleBufferImpl): Removed. (nio_get_Byte): Removed. (nio_put_Byte): Removed. (asByteBuffer): Removed. * gnu/java/nio/FloatBufferImpl.java (FloatBufferImpl): Removed. (nio_get_Byte): Removed. (nio_put_Byte): Removed. (asByteBuffer): Removed. * gnu/java/nio/IntBufferImpl.java (IntBufferImpl): Removed. (nio_get_Byte): Removed. (nio_put_Byte): Removed. (asByteBuffer): Removed. * gnu/java/nio/LongBufferImpl.java (LongBufferImpl): Removed. (nio_get_Byte): Removed. (nio_put_Byte): Removed. (asByteBuffer): Removed. * gnu/java/nio/ShortBufferImpl.java (ShortBufferImpl): Removed. (nio_get_Byte): Removed. (nio_put_Byte): Removed. (asByteBuffer): Removed. * gnu/java/nio/natByteBufferImpl.cc (nio_cast): Removed. (nio_get_Byte): Removed. (nio_put_Byte): Removed. * gnu/java/nio/natCharBufferImpl.cc (nio_get_Byte): Removed. (nio_put_Byte): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66626 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu/java/nio/DoubleBufferImpl.java')
-rw-r--r--libjava/gnu/java/nio/DoubleBufferImpl.java20
1 files changed, 0 insertions, 20 deletions
diff --git a/libjava/gnu/java/nio/DoubleBufferImpl.java b/libjava/gnu/java/nio/DoubleBufferImpl.java
index f4dffc2d8f4..7d4f69311d0 100644
--- a/libjava/gnu/java/nio/DoubleBufferImpl.java
+++ b/libjava/gnu/java/nio/DoubleBufferImpl.java
@@ -70,26 +70,6 @@ public final class DoubleBufferImpl extends DoubleBuffer
readOnly = copy.isReadOnly ();
}
- DoubleBufferImpl (byte[] copy)
- {
- super (copy.length, copy.length, 0, 0);
- this.backing_buffer = copy != null ? nio_cast (copy) : null;
- readOnly = false;
- }
-
- private static native byte nio_get_Byte (DoubleBufferImpl b, int index, int limit);
-
- private static native void nio_put_Byte (DoubleBufferImpl b, int index, int limit, byte value);
-
- public ByteBuffer asByteBuffer ()
- {
- ByteBufferImpl res = new ByteBufferImpl (backing_buffer);
- res.limit ((limit () * 1) / 8);
- return res;
- }
-
- private static native double[] nio_cast (byte[] copy);
-
public boolean isReadOnly ()
{
return readOnly;
OpenPOWER on IntegriCloud