| Constructor and Description |
|---|
Pair(Payload first,
Payload second)
Creates a new
Pair. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
Payload |
getFirst()
Returns the first value this
Pair has been created with. |
Payload |
getSecond()
Returns the second value this
Pair has been created with. |
int |
hashCode() |
String |
toString() |
Pair<Payload> |
withFirst(Payload first)
|
Pair<Payload> |
withSecond(Payload second)
|
public Payload getFirst()
Pair has been created with.public Pair<Payload> withFirst(Payload first)
first - The first value to be used.Pair.public Payload getSecond()
Pair has been created with.public Pair<Payload> withSecond(Payload second)
second - The second value to be used.Pair.Copyright © 2015–2017 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.