aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/nio/ByteBufferImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/nio/ByteBufferImpl.java')
-rw-r--r--libjava/java/nio/ByteBufferImpl.java56
1 files changed, 28 insertions, 28 deletions
diff --git a/libjava/java/nio/ByteBufferImpl.java b/libjava/java/nio/ByteBufferImpl.java
index 5d3c3d3..f79ae63 100644
--- a/libjava/java/nio/ByteBufferImpl.java
+++ b/libjava/java/nio/ByteBufferImpl.java
@@ -131,7 +131,7 @@ final class ByteBufferImpl extends ByteBuffer
/**
* Relative get method. Reads the next <code>byte</code> from the buffer.
*/
- final public byte get ()
+ public byte get ()
{
byte result = backing_buffer [position () + array_offset];
position (position () + 1);
@@ -144,7 +144,7 @@ final class ByteBufferImpl extends ByteBuffer
*
* @exception ReadOnlyBufferException If this buffer is read-only.
*/
- final public ByteBuffer put (byte value)
+ public ByteBuffer put (byte value)
{
if (readOnly)
throw new ReadOnlyBufferException ();
@@ -162,7 +162,7 @@ final class ByteBufferImpl extends ByteBuffer
* @exception IndexOutOfBoundsException If index is negative or not smaller
* than the buffer's limit.
*/
- final public byte get (int index)
+ public byte get (int index)
{
return backing_buffer [index + array_offset];
}
@@ -175,7 +175,7 @@ final class ByteBufferImpl extends ByteBuffer
* than the buffer's limit.
* @exception ReadOnlyBufferException If this buffer is read-only.
*/
- final public ByteBuffer put (int index, byte value)
+ public ByteBuffer put (int index, byte value)
{
if (readOnly)
throw new ReadOnlyBufferException ();
@@ -184,133 +184,133 @@ final class ByteBufferImpl extends ByteBuffer
return this;
}
- final public char getChar ()
+ public char getChar ()
{
return ByteBufferHelper.getChar(this, order());
}
- final public ByteBuffer putChar (char value)
+ public ByteBuffer putChar (char value)
{
ByteBufferHelper.putChar(this, value, order());
return this;
}
- final public char getChar (int index)
+ public char getChar (int index)
{
return ByteBufferHelper.getChar(this, index, order());
}
- final public ByteBuffer putChar (int index, char value)
+ public ByteBuffer putChar (int index, char value)
{
ByteBufferHelper.putChar(this, index, value, order());
return this;
}
- final public short getShort ()
+ public short getShort ()
{
return ByteBufferHelper.getShort(this, order());
}
- final public ByteBuffer putShort (short value)
+ public ByteBuffer putShort (short value)
{
ByteBufferHelper.putShort(this, value, order());
return this;
}
- final public short getShort (int index)
+ public short getShort (int index)
{
return ByteBufferHelper.getShort(this, index, order());
}
- final public ByteBuffer putShort (int index, short value)
+ public ByteBuffer putShort (int index, short value)
{
ByteBufferHelper.putShort(this, index, value, order());
return this;
}
- final public int getInt ()
+ public int getInt ()
{
return ByteBufferHelper.getInt(this, order());
}
- final public ByteBuffer putInt (int value)
+ public ByteBuffer putInt (int value)
{
ByteBufferHelper.putInt(this, value, order());
return this;
}
- final public int getInt (int index)
+ public int getInt (int index)
{
return ByteBufferHelper.getInt(this, index, order());
}
- final public ByteBuffer putInt (int index, int value)
+ public ByteBuffer putInt (int index, int value)
{
ByteBufferHelper.putInt(this, index, value, order());
return this;
}
- final public long getLong ()
+ public long getLong ()
{
return ByteBufferHelper.getLong(this, order());
}
- final public ByteBuffer putLong (long value)
+ public ByteBuffer putLong (long value)
{
ByteBufferHelper.putLong (this, value, order());
return this;
}
- final public long getLong (int index)
+ public long getLong (int index)
{
return ByteBufferHelper.getLong (this, index, order());
}
- final public ByteBuffer putLong (int index, long value)
+ public ByteBuffer putLong (int index, long value)
{
ByteBufferHelper.putLong (this, index, value, order());
return this;
}
- final public float getFloat ()
+ public float getFloat ()
{
return ByteBufferHelper.getFloat (this, order());
}
- final public ByteBuffer putFloat (float value)
+ public ByteBuffer putFloat (float value)
{
ByteBufferHelper.putFloat (this, value, order());
return this;
}
- public final float getFloat (int index)
+ public float getFloat (int index)
{
return ByteBufferHelper.getFloat (this, index, order());
}
- final public ByteBuffer putFloat (int index, float value)
+ public ByteBuffer putFloat (int index, float value)
{
ByteBufferHelper.putFloat (this, index, value, order());
return this;
}
- final public double getDouble ()
+ public double getDouble ()
{
return ByteBufferHelper.getDouble (this, order());
}
- final public ByteBuffer putDouble (double value)
+ public ByteBuffer putDouble (double value)
{
ByteBufferHelper.putDouble (this, value, order());
return this;
}
- final public double getDouble (int index)
+ public double getDouble (int index)
{
return ByteBufferHelper.getDouble (this, index, order());
}
- final public ByteBuffer putDouble (int index, double value)
+ public ByteBuffer putDouble (int index, double value)
{
ByteBufferHelper.putDouble (this, index, value, order());
return this;