java.lang.Object
io.opentimeline.util.Pair<T,U>
- Type Parameters:
T
- type for first value
U
- type for second value
public class Pair<T,U>
extends java.lang.Object
A generic class that holds a pair of values.
-
Constructor Summary
Constructors
Constructor |
Description |
Pair(T first,
U second) |
|
-
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
public Pair(
T first,
U second)
-
Method Details
-
-
-
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
-
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object