public class BSONTimestamp extends java.lang.Object implements java.lang.Comparable<BSONTimestamp>, java.io.Serializable
| Constructor and Description |
|---|
BSONTimestamp() |
BSONTimestamp(java.util.Date time,
int inc) |
BSONTimestamp(int time,
int inc) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(BSONTimestamp ts) |
static BSONTimestamp |
current() |
boolean |
equals(java.lang.Object obj) |
int |
getInc() |
int |
getTime() |
int |
hashCode() |
java.lang.String |
toString() |
public BSONTimestamp()
public BSONTimestamp(int time,
int inc)
public BSONTimestamp(java.util.Date time,
int inc)
public static final BSONTimestamp current()
public int getTime()
public int getInc()
public java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(BSONTimestamp ts)
compareTo in interface java.lang.Comparable<BSONTimestamp>public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object