/[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.11 by mkoch, Sun May 18 11:42:19 2003 UTC revision 1.12 by mkoch, Sun May 18 12:12:40 2003 UTC
# Line 50  public abstract class ByteBuffer extends Line 50  public abstract class ByteBuffer extends
50    protected int offset;    protected int offset;
51    protected byte[] backing_buffer;    protected byte[] backing_buffer;
52        
53      protected ByteBuffer (int capacity, int limit, int position, int mark)
54      {
55        super (capacity, limit, position, mark);
56      }
57      
58    /**    /**
59     * Allocates a new direct byte buffer.     * Allocates a new direct byte buffer.
60     */     */
# Line 87  public abstract class ByteBuffer extends Line 92  public abstract class ByteBuffer extends
92      return wrap (array, 0, array.length);      return wrap (array, 0, array.length);
93    }    }
94    
   protected ByteBuffer (int capacity, int limit, int position, int mark)  
   {  
     super (capacity, limit, position, mark);  
   }  
     
95    /**    /**
96     * This method transfers <code>bytes<code> from this buffer into the given     * This method transfers <code>bytes<code> from this buffer into the given
97     * destination array.     * destination array.

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

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