|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Dictionary
ilog.tgo.util.IltDistributedTable
public class IltDistributedTable
This class implements a table of keys and values, where the values are actually stored as properties attached to the keys. In contrast to regular hash tables, putting a key/value pair in such a table does not preclude it from being garbage collected.
All keys of such a table must be of type IltWithProperties.
IlWithProperties| Constructor Summary | |
|---|---|
IltDistributedTable()
Deprecated. Default constructor. |
|
| Method Summary | |
|---|---|
Enumeration |
elements()
Deprecated. Returns an enumeration of the values in this dictionary. |
Object |
get(Object key)
Deprecated. Returns the value to which the key is mapped in this dictionary. |
boolean |
isEmpty()
Deprecated. Tests if this dictionary maps no keys to value. |
Enumeration |
keys()
Deprecated. Returns an enumeration of the keys in this dictionary. |
Object |
put(Object key,
Object value)
Deprecated. Maps the specified key to the specified value in this dictionary. |
Object |
remove(Object key)
Deprecated. Removes the key (and its corresponding value) from this dictionary. |
int |
size()
Deprecated. Returns the number of keys in this dictionary. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IltDistributedTable()
| Method Detail |
|---|
public Object get(Object key)
get in class Dictionary
public Object put(Object key,
Object value)
null.
The value can be retrieved by calling the get method with a key that is equal to the original key.
put in class Dictionarykey - an instance of IltWithPropertiesvalue - value the value
public Object remove(Object key)
remove in class Dictionarykey - - the key that needs to be removed
public int size()
size in class Dictionarypublic boolean isEmpty()
isEmpty in class Dictionarypublic Enumeration keys()
keys in class Dictionarypublic Enumeration elements()
elements in class Dictionary
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||