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

Diff of /classpath/java/nio/MappedByteBuffer.java

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

revision 1.5 by mkoch, Sat Dec 21 12:37:01 2002 UTC revision 1.6 by mkoch, Tue Mar 11 08:02:23 2003 UTC
# Line 43  package java.nio; Line 43  package java.nio;
43   */   */
44  public abstract class MappedByteBuffer extends ByteBuffer  public abstract class MappedByteBuffer extends ByteBuffer
45  {  {
46      private static native void sync();    public final MappedByteBuffer force ()
47      {
48      public final MappedByteBuffer force()      return this;
49      {    }
         sync();  
         return this;  
     }  
50            
51      public final boolean isLoaded()    public final boolean isLoaded ()
52      {    {
53          return true;      return true;
54      }    }
55            
56      public final MappedByteBuffer load()    public final MappedByteBuffer load ()
57      {    {
58          sync();      return this;
59          return this;    }
     }  
   
60  }  }

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