gcc/libjava/java/nio
Per Bothner 40c23042f4 ByteBuffer.java (shiftDown): New helper method.
* java/nio/ByteBuffer.java (shiftDown):  New helper method.
	* java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
	* java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
	* sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
	Pass ByteOrder parameter to most methods, since the underlying
	ByteBuffer's order isn't always what we should use.
	* java/nio/ByteBufferImpl.java:  Pass byte-order various places.
	* java/nio/DirectByteBufferImpl.java:  Likewise.
	Use ByteBufferHelper methods.
	* java/nio/MappedByteBufferImpl.java:  Likewise.
	(compact):  Use shiftDown.
	* java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
	(get, put):  Use ByteBufferHelper.
	(compact):  Use new shiftDown method.
	(duplicate(boolean)):  New helper method.
	(duplicate, asReadOnlyBuffer):  Use it.
	(order):  Return endian field.
	* java/nio/DoubleViewBufferImpl.java:  Likewise.
	* java/nio/FloatViewBufferImpl.java:  Likewise.
	* java/nio/IntViewBufferImpl.java:  Likewise.
	* java/nio/LongViewBufferImpl.java:  Likewise.
	* java/nio/ShortViewBufferImpl.java:  Likewise.
	* java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
	* java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
	(compact):  Re-implement using shiftDown.

From-SVN: r77501
2004-02-08 13:02:53 -08:00
..
channels * gnu/java/net/PlainSocketImpl.java 2004-01-30 13:43:21 +00:00
charset
Buffer.java
BufferOverflowException.java
BufferUnderflowException.java
ByteBuffer.java ByteBuffer.java (shiftDown): New helper method. 2004-02-08 13:02:53 -08:00
ByteBufferHelper.java ByteBuffer.java (shiftDown): New helper method. 2004-02-08 13:02:53 -08:00
ByteBufferImpl.java ByteBuffer.java (shiftDown): New helper method. 2004-02-08 13:02:53 -08:00
ByteOrder.java
CharBuffer.java
CharBufferImpl.java
CharViewBufferImpl.java ByteBuffer.java (shiftDown): New helper method. 2004-02-08 13:02:53 -08:00
DirectByteBufferImpl.java ByteBuffer.java (shiftDown): New helper method. 2004-02-08 13:02:53 -08:00
DoubleBuffer.java
DoubleBufferImpl.java
DoubleViewBufferImpl.java ByteBuffer.java (shiftDown): New helper method. 2004-02-08 13:02:53 -08:00
FloatBuffer.java
FloatBufferImpl.java
FloatViewBufferImpl.java ByteBuffer.java (shiftDown): New helper method. 2004-02-08 13:02:53 -08:00
IntBuffer.java
IntBufferImpl.java
IntViewBufferImpl.java ByteBuffer.java (shiftDown): New helper method. 2004-02-08 13:02:53 -08:00
InvalidMarkException.java
LongBuffer.java
LongBufferImpl.java
LongViewBufferImpl.java ByteBuffer.java (shiftDown): New helper method. 2004-02-08 13:02:53 -08:00
MappedByteBuffer.java
MappedByteBufferImpl.java ByteBuffer.java (shiftDown): New helper method. 2004-02-08 13:02:53 -08:00
natDirectByteBufferImpl.cc ByteBuffer.java (shiftDown): New helper method. 2004-02-08 13:02:53 -08:00
ReadOnlyBufferException.java
ShortBuffer.java
ShortBufferImpl.java
ShortViewBufferImpl.java ByteBuffer.java (shiftDown): New helper method. 2004-02-08 13:02:53 -08:00