A
- The object a type.B
- The object b type.C
- The object c type.public class Tuple3<A,B,C> extends Tuple2<A,B>
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 |
---|---|
C |
c() |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isEmpty()
Returns whether this tupple is empty (composed with
null values). |
static <A,B,C> Tuple3<A,B,C> |
newInstance(A a,
B b,
C c)
Deprecated.
since 11.0.0, replaced by
of(Object, Object, Object) . |
static <A,B,C> Tuple3<A,B,C> |
of(A a,
B b,
C c)
Creates a new instance.
|
String |
toString() |
public static <A,B,C> Tuple3<A,B,C> of(A a, B b, C c)
a
- the object a.b
- the object b.c
- the object c.@Deprecated public static <A,B,C> Tuple3<A,B,C> newInstance(A a, B b, C c)
of(Object, Object, Object)
.a
- the object a.b
- the object b.c
- the object c.public C c()
LumisXP 12.2.0.200122 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.