|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.isti.trinetwatch.params.StaticParamTable
public class StaticParamTable
Class StaticParamTable manages a hash table of 'StaticParameter' objects.
Field Summary | |
---|---|
protected FifoHashtable |
hTable
|
Constructor Summary | |
---|---|
StaticParamTable()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final FifoHashtable hTable
Constructor Detail |
---|
public StaticParamTable()
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |