public class Tuple
extends java.lang.Object
| Constructor and Description |
|---|
Tuple(java.lang.Object firstObj,
java.lang.Object secondObj)
Creates a new Tuple instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getFirstObject()
Retrieves the first object in the Tuple pair.
|
java.lang.Object |
getSecondObject()
Retrieves the second object in the Tuple pair.
|
public Tuple(java.lang.Object firstObj,
java.lang.Object secondObj)
firstObj: - The first object in the pair.secondObj: - The second object in the pair.public java.lang.Object getFirstObject()
public java.lang.Object getSecondObject()