Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
A |
getA()
Returns the first object in this tuple.
|
B |
getB()
Returns the second object in this tuple.
|
int |
hashCode() |
static <A,B> Tuple2<A,B> |
of(A a,
B b)
Creator.
|
public static <A,B> Tuple2<A,B> of(A a, B b)
A
- Object 1 type.B
- Object 2 type.a
- Object 1.b
- Object 2.public A getA()
public B getB()
Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.