ByteBufferImpl.java, [...]: Made sure all classes are final and removed final keyword from all methods.

2004-04-20  Michael Koch  <konqueror@gmx.de>

	* java/nio/ByteBufferImpl.java,
	java/nio/CharBufferImpl.java,
	java/nio/DirectByteBufferImpl.java,
	java/nio/DoubleBufferImpl.java,
	java/nio/DoubleViewBufferImpl.java,
	java/nio/FloatBufferImpl.java,
	java/nio/FloatViewBufferImpl.java,
	java/nio/IntBufferImpl.java,
	java/nio/IntViewBufferImpl.java,
	java/nio/LongBufferImpl.java,
	java/nio/LongViewBufferImpl.java,
	java/nio/MappedByteBufferImpl.java,
	java/nio/ShortBufferImpl.java,
	java/nio/ShortViewBufferImpl.java:
	Made sure all classes are final and removed final keyword from all
	methods.

From-SVN: r80907
This commit is contained in:
Michael Koch 2004-04-20 14:54:37 +00:00 committed by Michael Koch
parent a17c9f2ea1
commit 08c5d75719
15 changed files with 133 additions and 115 deletions

View file

@ -100,7 +100,7 @@ final class LongBufferImpl extends LongBuffer
/**
* Relative get method. Reads the next <code>long</code> from the buffer.
*/
final public long get ()
public long get ()
{
long result = backing_buffer [position ()];
position (position () + 1);
@ -113,7 +113,7 @@ final class LongBufferImpl extends LongBuffer
*
* @exception ReadOnlyBufferException If this buffer is read-only.
*/
final public LongBuffer put (long value)
public LongBuffer put (long value)
{
if (readOnly)
throw new ReadOnlyBufferException ();
@ -130,7 +130,7 @@ final class LongBufferImpl extends LongBuffer
* @exception IndexOutOfBoundsException If index is negative or not smaller
* than the buffer's limit.
*/
final public long get (int index)
public long get (int index)
{
return backing_buffer [index];
}
@ -143,7 +143,7 @@ final class LongBufferImpl extends LongBuffer
* than the buffer's limit.
* @exception ReadOnlyBufferException If this buffer is read-only.
*/
final public LongBuffer put (int index, long value)
public LongBuffer put (int index, long value)
{
if (readOnly)
throw new ReadOnlyBufferException ();
@ -152,7 +152,7 @@ final class LongBufferImpl extends LongBuffer
return this;
}
final public ByteOrder order ()
public ByteOrder order ()
{
return ByteOrder.nativeOrder ();
}