public final class SeqNo extends java.lang.Object implements scala.math.Ordered<SeqNo>, scala.Product, scala.Serializable
Constructor and Description |
---|
SeqNo(long rawValue) |
Modifier and Type | Method and Description |
---|---|
int |
compare(SeqNo that) |
SeqNo |
inc()
Increments the sequence number.
|
boolean |
isSuccessor(SeqNo that)
Checks if this sequence number is an immediate successor of the provided one.
|
static scala.math.Ordering<SeqNo> |
ord() |
long |
rawValue() |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
$greater, $greater$eq, $less, $less$eq, compareTo
public static scala.math.Ordering<SeqNo> ord()
public long rawValue()
public boolean isSuccessor(SeqNo that)
that
- The second sequence number that has to be exactly one lesspublic SeqNo inc()
public java.lang.String toString()
toString
in class java.lang.Object