|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
K - the type of the association's keyV - the type of the association's valuepublic interface Association<K,V>
Straightforward definition of an object pairing. The key is immutable.
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Pair| Nested Class Summary | |
|---|---|
static class |
Association.KeyTransformer<K,V>
|
static class |
Association.ValueTransformer<K,V>
|
| Field Summary | |
|---|---|
static org.eclipse.jpt.common.utility.transformer.Transformer |
KEY_TRANSFORMER
|
static org.eclipse.jpt.common.utility.transformer.Transformer |
VALUE_TRANSFORMER
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Return true if the associations' keys and values are equal. |
K |
getKey()
Return the association's key. |
V |
getValue()
Return the association's value. |
int |
hashCode()
Return a hash code based on the association's key and value. |
V |
setValue(V value)
Set the association's value. |
| Field Detail |
|---|
static final org.eclipse.jpt.common.utility.transformer.Transformer KEY_TRANSFORMER
static final org.eclipse.jpt.common.utility.transformer.Transformer VALUE_TRANSFORMER
| Method Detail |
|---|
K getKey()
V getValue()
V setValue(V value)
boolean equals(Object o)
equals in class Objectint hashCode()
hashCode in class Object
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||