public class EpochAndSeqNumber extends Object implements Comparable<EpochAndSeqNumber>
Constructor and Description |
---|
EpochAndSeqNumber(int epoch,
long seqNumber) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(EpochAndSeqNumber o) |
int |
epoch() |
boolean |
equals(Object o) |
int |
hashCode() |
long |
seqNumber() |
String |
toString() |
public int epoch()
public long seqNumber()
public int compareTo(EpochAndSeqNumber o)
compareTo
in interface Comparable<EpochAndSeqNumber>