/[classpath]/classpath/java/nio/ByteBuffer.java
ViewVC logotype

Diff of /classpath/java/nio/ByteBuffer.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by mkoch, Sat Nov 16 16:02:56 2002 UTC revision 1.6 by mkoch, Sat Nov 16 16:12:06 2002 UTC
# Line 46  public abstract class ByteBuffer extends Line 46  public abstract class ByteBuffer extends
46  {  {
47    private ByteOrder endian = ByteOrder.BIG_ENDIAN;    private ByteOrder endian = ByteOrder.BIG_ENDIAN;
48        
49      protected byte [] backing_buffer;
50      
51    /**    /**
52     * Allocates a new direct byte buffer.     * Allocates a new direct byte buffer.
53     */     */
54    public static ByteBuffer allocateDirect (int capacity)    public static ByteBuffer allocateDirect (int capacity)
   protected byte [] backing_buffer;  
     
55    {    {
56      ByteBuffer b = new gnu.java.nio. ByteBufferImpl(capacity, 0, capacity);      ByteBuffer b = new gnu.java.nio. ByteBufferImpl(capacity, 0, capacity);
57      return b;      return b;

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26