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