public class TLcdAssoc extends Object implements ILcdAssoc
ILcdAssoc
.Constructor and Description |
---|
TLcdAssoc()
Creates a new empty TLcdAssoc, with key and value both equal to null.
|
TLcdAssoc(ILcdAssoc aAssoc)
Creates a new
TLcdAssoc that has the same key/value pair
as the the given ILcdAssoc. |
TLcdAssoc(Object aKey,
Object aValue)
Creates a new
TLcdAssoc with the given key/value pair. |
Modifier and Type | Method and Description |
---|---|
ILcdAssoc |
cloneAsILcdAssoc() |
Object |
getKey() |
Object |
getValue() |
void |
setKey(Object aKey)
Sets the key of this association.
|
void |
setValue(Object aValue)
Sets the value of this association.
|
String |
toString() |
public TLcdAssoc()
public TLcdAssoc(ILcdAssoc aAssoc)
TLcdAssoc
that has the same key/value pair
as the the given ILcdAssoc.aAssoc
- the ILcdAssoc to be copied.public Object getKey()
public void setKey(Object aKey)
ILcdAssoc
public Object getValue()
public void setValue(Object aValue)
ILcdAssoc
public ILcdAssoc cloneAsILcdAssoc()
cloneAsILcdAssoc
in interface ILcdAssoc
ILcdAssoc
.