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