/[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.1 by rveldema, Mon Mar 11 15:46:36 2002 UTC revision 1.2 by rveldema, Tue Mar 12 11:36:22 2002 UTC
# Line 3  package java.nio; Line 3  package java.nio;
3    
4  public abstract class MappedByteBuffer extends ByteBuffer  public abstract class MappedByteBuffer extends ByteBuffer
5  {  {
6      private static MantaNative void sync();      private static native void sync();
7    
8      MappedByteBuffer force()      public MappedByteBuffer force()
9      {      {
10          sync();          sync();
11          return this;          return this;
12      }      }
13            
14      boolean isLoaded()      public boolean isLoaded()
15      {      {
16          return true;          return true;
17      }      }
18            
19      MappedByteBuffer load()      public MappedByteBuffer load()
20      {      {
21          sync();          sync();
22          return this;          return this;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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