@ProtoTypeId(value=8) public class NumericVersion extends Object implements IncrementableEntryVersion
| Modifier and Type | Class and Description |
|---|---|
static class |
NumericVersion.Externalizer |
| Constructor and Description |
|---|
NumericVersion(long version) |
| Modifier and Type | Method and Description |
|---|---|
InequalVersionComparisonResult |
compareTo(EntryVersion other)
Compares the given version against the current instance.
|
boolean |
equals(Object o) |
long |
getVersion() |
int |
hashCode() |
String |
toString() |
@ProtoField(number=1,
defaultValue="-1")
public long getVersion()
public InequalVersionComparisonResult compareTo(EntryVersion other)
EntryVersioncompareTo in interface EntryVersionother - the other version to compare againstCopyright © 2022 JBoss by Red Hat. All rights reserved.