|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
L - the type of the pair's left valueR - the type of the pair's right valuepublic interface Pair<L,R>
Straightforward definition of an object pairing. The left and right values are 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.
Association| Nested Class Summary | |
|---|---|
static class |
Pair.LeftTransformer<L,R>
|
static class |
Pair.RightTransformer<L,R>
|
| Field Summary | |
|---|---|
static org.eclipse.jpt.common.utility.transformer.Transformer |
LEFT_TRANSFORMER
|
static org.eclipse.jpt.common.utility.transformer.Transformer |
RIGHT_TRANSFORMER
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Return whether the pairs' left and right values are equal. |
L |
getLeft()
Return the pair's left value. |
R |
getRight()
Return the pair's right value. |
int |
hashCode()
Return a hash code that is a XOR of the hash codes of the pair's left and right values. |
| Field Detail |
|---|
static final org.eclipse.jpt.common.utility.transformer.Transformer LEFT_TRANSFORMER
static final org.eclipse.jpt.common.utility.transformer.Transformer RIGHT_TRANSFORMER
| Method Detail |
|---|
L getLeft()
R getRight()
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 | ||||||||||