public final class OffsetTable
extends java.lang.Object
| Constructor and Description |
|---|
OffsetTable(int size) |
| Modifier and Type | Method and Description |
|---|---|
int |
get(int key) |
static OffsetTable |
load(java.io.DataInputStream in) |
void |
put(int key,
int value) |
void |
removeKey(int key) |
void |
save(java.io.DataOutputStream out) |
public int get(int key)
public void removeKey(int key)
public void put(int key,
int value)
public void save(java.io.DataOutputStream out)
throws java.io.IOException
java.io.IOExceptionpublic static OffsetTable load(java.io.DataInputStream in) throws java.io.IOException
java.io.IOException