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 |
} |
} |