/[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.14 by mkoch, Mon May 19 09:05:12 2003 UTC revision 1.15 by mkoch, Tue May 20 10:34:22 2003 UTC
# Line 35  this exception to your version of the li Line 35  this exception to your version of the li
35  obligated to do so.  If you do not wish to do so, delete this  obligated to do so.  If you do not wish to do so, delete this
36  exception statement from your version. */  exception statement from your version. */
37    
 package java.nio;  
38    
39  import gnu.java.nio.ByteBufferImpl;  package java.nio;
40    
41  /**  /**
42   * @since 1.4   * @since 1.4
# Line 47  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 int array_offset;    int array_offset;
50    protected byte[] backing_buffer;    byte[] backing_buffer;
51      
52    protected ByteBuffer (int capacity, int limit, int position, int mark)    protected ByteBuffer (int capacity, int limit, int position, int mark)
53    {    {
54      super (capacity, limit, position, mark);      super (capacity, limit, position, mark);
55      array_offset = 0;      array_offset = 0;
56    }    }
57    
58    protected ByteBuffer (byte[] buffer, int offset, int capacity, int limit, int position, int mark)    ByteBuffer (byte[] buffer, int offset, int capacity, int limit, int position, int mark)
59    {    {
60      super (capacity, limit, position, mark);      super (capacity, limit, position, mark);
61      this.backing_buffer = buffer;      this.backing_buffer = buffer;

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

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