public class DiffingConnectorCheckpoint extends java.lang.Object implements java.lang.Comparable<DiffingConnectorCheckpoint>
DiffingConnector.| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(DiffingConnectorCheckpoint o) |
boolean |
equals(java.lang.Object obj) |
static DiffingConnectorCheckpoint |
fromJson(org.json.JSONObject jsonObject) |
static DiffingConnectorCheckpoint |
fromJsonString(java.lang.String jsonObjectString)
Returns a
DiffingConnectorCheckpoint from a String that was
produced by calling {link #toString}. |
long |
getMajorNumber() |
long |
getMinorNumber() |
int |
hashCode() |
static DiffingConnectorCheckpoint |
newFirst()
Returns a
DiffingConnectorCheckpoint that is less than or equal to
all others. |
DiffingConnectorCheckpoint |
next()
Returns the
DiffingConnectorCheckpoint after this one. |
DiffingConnectorCheckpoint |
nextMajor()
Returns the first
DiffingConnectorCheckpoint with getMajorNumber() greater than the value for this DiffingConnectorCheckpoint. |
java.lang.String |
toString()
Returns a
String representation of this
DiffingConnectorCheckpoint. |
public static DiffingConnectorCheckpoint newFirst()
DiffingConnectorCheckpoint that is less than or equal to
all others.public static DiffingConnectorCheckpoint fromJsonString(java.lang.String jsonObjectString)
DiffingConnectorCheckpoint from a String that was
produced by calling {link #toString}.java.lang.IllegalArgumentException - if checkpoint is not a valid value
that was created by calling {link #toString()}public static DiffingConnectorCheckpoint fromJson(org.json.JSONObject jsonObject)
public DiffingConnectorCheckpoint next()
DiffingConnectorCheckpoint after this one.public DiffingConnectorCheckpoint nextMajor()
DiffingConnectorCheckpoint with getMajorNumber() greater than the value for this DiffingConnectorCheckpoint.public java.lang.String toString()
String representation of this
DiffingConnectorCheckpoint.toString in class java.lang.Objectpublic int compareTo(DiffingConnectorCheckpoint o)
compareTo in interface java.lang.Comparable<DiffingConnectorCheckpoint>public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic final long getMajorNumber()
public final long getMinorNumber()