public class MultiValuedTimestamp<T extends java.lang.Comparable<T>,U extends java.lang.Comparable<U>> extends java.lang.Object implements Timestamp
| Constructor and Description |
|---|
MultiValuedTimestamp(T value1,
U value2)
Creates a new timestamp based on two values.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Timestamp o) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
T |
value1()
Returns the first value.
|
U |
value2()
Returns the second value.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitisNewerThan, isOlderThanpublic int compareTo(Timestamp o)
compareTo in interface java.lang.Comparable<Timestamp>public int hashCode()
public boolean equals(java.lang.Object obj)
public java.lang.String toString()
toString in class java.lang.Objectpublic T value1()
public U value2()