T1 - type of the first elementT2 - type of the second elementpublic class Tuple2<T1,T2> extends Object
| Constructor and Description |
|---|
Tuple2(T1 first,
T2 second)
Creates a new instance of
Tuple2 with given elements. |
public T1 getFirst()
public T2 getSecond()
public boolean equals(Object obj)
Note, that in case current class is overridden, equals should also be overridden.
Copyright © 1998–2025 Apryse Group NV. All rights reserved.