Constructor and Description |
---|
Tuple3(V1 v1,
V2 v2,
V3 v3)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<Object> |
asList()
View this instance as a list.
|
boolean |
equals(Object obj)
Compare for equality.
|
int |
getSize()
Get the number of values in this tuple.
|
V1 |
getValue1()
Get the first value.
|
V2 |
getValue2()
Get the second value.
|
V3 |
getValue3()
Get the third value.
|
int |
hashCode()
Compute hash code.
|
String |
toString() |
public V3 getValue3()
Has3
public int getSize()
Tuple
public List<Object> asList()
Tuple
public int hashCode()
Tuple
The hash code of a tuple is the exclusive-OR of the hash codes of the individual values (using zero for null values).
public V2 getValue2()
Has2
public V1 getValue1()
Has1
Copyright © 2022. All rights reserved.