public final class Tuple<A,B> extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
A |
getA()
Get the first element.
|
B |
getB()
Get the second element.
|
int |
hashCode() |
String |
toString() |
static <A,B> Tuple<A,B> |
tuple(A a,
B b)
Create a new tuple with two elements
a and b. |
Copyright © 2009–2021 Opencast Project. All rights reserved.