40 |
|
|
41 |
import gnu.java.nio.FileChannelImpl; |
import gnu.java.nio.FileChannelImpl; |
42 |
import java.io.IOException; |
import java.io.IOException; |
|
import gnu.classpath.RawData; |
|
43 |
|
|
44 |
public class MappedByteBufferImpl extends MappedByteBuffer |
public class MappedByteBufferImpl extends MappedByteBuffer |
45 |
{ |
{ |
46 |
boolean readOnly; |
boolean readOnly; |
47 |
RawData map_address; |
long map_address; |
48 |
public FileChannelImpl ch; |
public FileChannelImpl ch; |
49 |
|
|
50 |
public MappedByteBufferImpl (FileChannelImpl ch) throws IOException |
public MappedByteBufferImpl (FileChannelImpl ch) throws IOException |
63 |
} |
} |
64 |
|
|
65 |
public static byte getImpl (FileChannelImpl ch, int index, |
public static byte getImpl (FileChannelImpl ch, int index, |
66 |
int limit, RawData map_address) |
int limit, long map_address) |
67 |
{ |
{ |
68 |
throw new Error ("Not implemented"); |
throw new Error ("Not implemented"); |
69 |
} |
} |
70 |
|
|
71 |
public static void putImpl (FileChannelImpl ch, int index, |
public static void putImpl (FileChannelImpl ch, int index, |
72 |
int limit, byte value, RawData map_address) |
int limit, byte value, long map_address) |
73 |
{ |
{ |
74 |
throw new Error ("Not implemented"); |
throw new Error ("Not implemented"); |
75 |
} |
} |