public class Association extends Object implements Map.Entry
Purpose: Generic association object. This can be used to map hashtable/map containers where the key and value primitives or independent objects.
| Modifier and Type | Field and Description |
|---|---|
protected Object |
key |
protected Object |
value |
| Constructor and Description |
|---|
Association()
Default constructor.
|
Association(Object key,
Object value)
PUBLIC:
Create an association.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getKey()
PUBLIC:
Return the key.
|
Object |
getValue()
PUBLIC:
Return the value.
|
void |
setKey(Object key)
PUBLIC:
Set the key.
|
Object |
setValue(Object value)
PUBLIC:
Set the value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, hashCodeCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.