public class MultiValuedTimestamp<T extends Comparable<T>,U extends Comparable<U>> extends 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(Object obj) |
int |
hashCode() |
String |
toString() |
T |
value1()
Returns the first value.
|
U |
value2()
Returns the second value.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isNewerThan, isOlderThan
public int compareTo(Timestamp o)
compareTo
in interface Comparable<Timestamp>
public int hashCode()
public boolean equals(Object obj)
public T value1()
public U value2()