| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public byte[] | |
| public IOByteArrayEnumeration | keys()
Returns a list of all keys in the hash, provided no inserts or deletes are made while the Enumeration is untraversed. |
| public void | |
| public boolean | |
| public boolean |
| containsKey | back to summary |
|---|---|
| public boolean containsKey(byte[] key) throws IOException Returns true iff key is present. | |
| get | back to summary |
|---|---|
| public byte[] get(byte[] key) throws IOException Gets the byte array associated with key, or none if this key is not present. | |
| keys | back to summary |
|---|---|
| public IOByteArrayEnumeration keys() throws IOException Returns a list of all keys in the hash, provided no inserts or deletes are made while the Enumeration is untraversed. If inserts or deletes are made. the behavior is undefined. | |
| put | back to summary |
|---|---|
| public void put(byte[] key, byte[] value) throws IOException Associates the byte[] key with the byte[] value in the hash. If key is already present in the map, the old value associated with it is replaced by value. | |
| putNoReplace | back to summary |
|---|---|
| public boolean putNoReplace(byte[] key, byte[] value) throws IOException Associates the byte[] key with the byte[] value in the hash. Fails (and returns false) if key is already present in the map. | |
| remove | back to summary |
|---|---|
| public boolean remove(byte[] key) throws IOException Removes the key, value pair whose key is the argument. | |