public final class HashtableOfStringAndInt
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
static int |
MISSING_ELEMENT |
| Constructor and Description |
|---|
HashtableOfStringAndInt() |
HashtableOfStringAndInt(int size) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
boolean |
containsKey(java.lang.String key) |
int |
get(java.lang.String key) |
int[] |
getValues() |
void |
load(java.io.DataInputStream in) |
int |
put(java.lang.String key,
int value) |
int |
removeKey(java.lang.String key) |
void |
save(java.io.DataOutputStream out) |
void |
save(java.io.DataOutputStream out,
RegistryObjectManager objectManager)
Filtered save: outputs only elements with values not in the excluded list.
|
int |
size() |
java.lang.String |
toString() |
public static final int MISSING_ELEMENT
public HashtableOfStringAndInt()
public HashtableOfStringAndInt(int size)
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic boolean containsKey(java.lang.String key)
public int get(java.lang.String key)
public int put(java.lang.String key,
int value)
public int removeKey(java.lang.String key)
public int size()
public java.lang.String toString()
toString in class java.lang.Objectpublic int[] getValues()
public void save(java.io.DataOutputStream out)
throws java.io.IOException
java.io.IOExceptionpublic void save(java.io.DataOutputStream out,
RegistryObjectManager objectManager)
throws java.io.IOException
java.io.IOExceptionpublic void load(java.io.DataInputStream in)
throws java.io.IOException
java.io.IOException