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() |
public long getVersion()
public InequalVersionComparisonResult compareTo(EntryVersion other)
EntryVersion
compareTo
in interface EntryVersion
other
- the other version to compare againstCopyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.