diff options
Diffstat (limited to 'libjava/java/nio/MappedByteBuffer.java')
-rw-r--r-- | libjava/java/nio/MappedByteBuffer.java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/libjava/java/nio/MappedByteBuffer.java b/libjava/java/nio/MappedByteBuffer.java index dc1b20d..305327b 100644 --- a/libjava/java/nio/MappedByteBuffer.java +++ b/libjava/java/nio/MappedByteBuffer.java @@ -37,6 +37,29 @@ exception statement from your version. */ package java.nio; +/** + * @author Michael Koch + * @since 1.4 + */ public abstract class MappedByteBuffer extends ByteBuffer { + MappedByteBuffer (int capacity, int limit, int position, int mark) + { + super (capacity, limit, position, mark); + } + + public final MappedByteBuffer force () + { + return this; + } + + public final boolean isLoaded () + { + return true; + } + + public final MappedByteBuffer load () + { + return this; + } } |