A
- The object a type.B
- The object b type.C
- The object c type.public class Tuple3<A,B,C> extends Object
a
, b
and c
.equals(Object)
and hashCode()
, based on the three objects.tup1
and tup2
have the same objects, but in different order,
tup1.equals(tup2)
may be false and tup1.hashCode() == tup2.hashCode()
may be false.Tuple3.newInstance(1, 2, 3).equals(Tuple3.newInstance(3, 2, 1))
is false.Tuple3.newInstance(1, 2, 3).hashCode() == Tuple3.newInstance(3, 2, 1).hashCode()
is false.null
values.Modifier and Type | Method and Description |
---|---|
A |
a() |
B |
b() |
C |
c() |
boolean |
equals(Object obj) |
int |
hashCode() |
static <A,B,C> Tuple3<A,B,C> |
newInstance(A a,
B b,
C c)
Creates a new instance.
|
String |
toString() |
Lumisportal 10.3.0.171201 - Copyright © 2006–2017 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.