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

Diff of /classpath/java/nio/IntViewBufferImpl.java

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

revision 1.6 by mkoch, Thu Dec 30 10:20:11 2004 UTC revision 1.7 by mkoch, Fri Jan 7 18:48:19 2005 UTC
# Line 53  final class IntViewBufferImpl extends In Line 53  final class IntViewBufferImpl extends In
53      this.offset = bb.position();      this.offset = bb.position();
54      this.readOnly = bb.isReadOnly();      this.readOnly = bb.isReadOnly();
55      this.endian = bb.order();      this.endian = bb.order();
56        if (bb.isDirect())
57          this.address = VMDirectByteBuffer.adjustAddress(bb.address, offset);
58    }    }
59        
60    public IntViewBufferImpl (ByteBuffer bb, int offset, int capacity,    public IntViewBufferImpl (ByteBuffer bb, int offset, int capacity,
# Line 64  final class IntViewBufferImpl extends In Line 66  final class IntViewBufferImpl extends In
66      this.offset = offset;      this.offset = offset;
67      this.readOnly = readOnly;      this.readOnly = readOnly;
68      this.endian = endian;      this.endian = endian;
69        if (bb.isDirect())
70          this.address = VMDirectByteBuffer.adjustAddress(bb.address, offset);
71    }    }
72    
73    /**    /**

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

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