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

Diff of /classpath/java/nio/DirectByteBufferImpl.java

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

revision 1.11.2.3 by gnu_andrew, Tue Aug 2 20:12:23 2005 UTC revision 1.11.2.4 by gnu_andrew, Sun Aug 7 18:34:11 2005 UTC
# Line 38  exception statement from your version. * Line 38  exception statement from your version. *
38    
39  package java.nio;  package java.nio;
40    
41  import gnu.classpath.RawData;  import gnu.classpath.Pointer;
42    
43  abstract class DirectByteBufferImpl extends ByteBuffer  abstract class DirectByteBufferImpl extends ByteBuffer
44  {  {
# Line 59  abstract class DirectByteBufferImpl exte Line 59  abstract class DirectByteBufferImpl exte
59    
60    static final class ReadOnly extends DirectByteBufferImpl    static final class ReadOnly extends DirectByteBufferImpl
61    {    {
62      ReadOnly(Object owner, RawData address,      ReadOnly(Object owner, Pointer address,
63               int capacity, int limit,               int capacity, int limit,
64               int position)               int position)
65      {      {
# Line 89  abstract class DirectByteBufferImpl exte Line 89  abstract class DirectByteBufferImpl exte
89        super(capacity);        super(capacity);
90      }      }
91    
92      ReadWrite(Object owner, RawData address,      ReadWrite(Object owner, Pointer address,
93                int capacity, int limit,                int capacity, int limit,
94                int position)                int position)
95      {      {
# Line 109  abstract class DirectByteBufferImpl exte Line 109  abstract class DirectByteBufferImpl exte
109      this.address = VMDirectByteBuffer.allocate(capacity);      this.address = VMDirectByteBuffer.allocate(capacity);
110    }    }
111    
112    DirectByteBufferImpl(Object owner, RawData address,    DirectByteBufferImpl(Object owner, Pointer address,
113                         int capacity, int limit,                         int capacity, int limit,
114                         int position)                         int position)
115    {    {

Legend:
Removed from v.1.11.2.3  
changed lines
  Added in v.1.11.2.4

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