public class Timestamp extends java.lang.Object implements java.lang.Comparable<Timestamp>, MessageSelector
Modifier and Type | Class and Description |
---|---|
static class |
Timestamp.AllZeroMap<T>
A
Map implementation that associates the zero timestamp with every key. |
Modifier and Type | Field and Description |
---|---|
static Timeline<Timestamp> |
INSERT_AT_ZERO_TIMELINE |
protected int |
value |
static Timestamp |
ZERO |
Constructor and Description |
---|
Timestamp(int value) |
protected final int value
public static final Timestamp ZERO
public int getValue()
public int compareTo(Timestamp that)
compareTo
in interface java.lang.Comparable<Timestamp>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object