public interface ILcdAssocSet
extends java.io.Serializable
ILcdAssoc
Modifier and Type | Method and Description |
---|---|
void |
add(ILcdAssoc aAssoc)
Adds an association to this set.
|
ILcdAssocSet |
cloneAsILcdAssocSet() |
java.util.Enumeration |
elements() |
ILcdAssoc[] |
getAssocs() |
java.lang.Object |
getValue(java.lang.Object aKey)
Gets the value associated with the given key.
|
boolean |
hasValue(java.lang.Object aKey)
Tests if the set has a value for the given key.
|
java.util.Enumeration |
keys() |
void |
put(java.lang.Object aKey,
java.lang.Object aValue)
Adds an association having with a given value and a given key to this set.
|
java.lang.Object |
remove(java.lang.Object aKey)
Removes the association with the given key.
|
void |
removeAll()
Removes all the associations.
|
void |
setAssocs(ILcdAssoc[] aAssocArray)
Sets the associations as an array of
ILcdAssoc objects. |
int |
size() |
int size()
ILcdAssocSet
.java.util.Enumeration keys()
java.util.Enumeration elements()
void put(java.lang.Object aKey, java.lang.Object aValue)
aKey
- the key.aValue
- the value.ILcdAssoc[] getAssocs()
ILcdAssoc
objects.void setAssocs(ILcdAssoc[] aAssocArray)
ILcdAssoc
objects.void add(ILcdAssoc aAssoc)
aAssoc
- the association to be added.java.lang.Object remove(java.lang.Object aKey)
aKey
- the key of the association to be removed.null
if the
key does not exist.void removeAll()
boolean hasValue(java.lang.Object aKey)
aKey
- the key to look up.java.lang.Object getValue(java.lang.Object aKey)
aKey
- the key to look up.null
if the
key does not exist.ILcdAssocSet cloneAsILcdAssocSet()
ILcdAssocSet
.