public class StaticParamTable
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected FifoHashtable |
hTable |
Constructor and Description |
---|
StaticParamTable() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(StaticParameter sParam)
Adds parameter object to hash table.
|
boolean |
containsKey(java.lang.String str)
Returns true if the specified key exists in the table.
|
boolean |
containsValue(StaticParameter sParam)
Returns true if the specified parameter object exists in the table.
|
java.util.Enumeration |
elements()
Returns an enumeration of the parameter objects in the table.
|
boolean |
equals(java.lang.Object obj)
Compares the given table to this table.
|
StaticParameter |
get(java.lang.String str)
Returns parameter object associated with the given key.
|
StaticParameter |
remove(java.lang.String str)
Removes parameter object associated with the given key.
|
boolean |
replaceTableItems(StaticParamTable srcTableObj)
Replaces all items in this table with the items in the given table
(if the given table is not identical).
|
int |
size()
Returns the number of parameter objects in the table.
|
protected final FifoHashtable hTable
public boolean add(StaticParameter sParam)
public StaticParameter get(java.lang.String str)
str
- a string matching the contents of the 'name' field
of the desired parameter object.public StaticParameter remove(java.lang.String str)
str
- a string matching the contents of the 'name' field
of the parameter object to be removed.public boolean containsKey(java.lang.String str)
public boolean containsValue(StaticParameter sParam)
public java.util.Enumeration elements()
public int size()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- 'StaticParamTable' object to compare to.public boolean replaceTableItems(StaticParamTable srcTableObj)
srcTableObj
- source 'StaticParamTable' object to use.