Interface EntryVersion
-
- All Known Subinterfaces:
IncrementableEntryVersion
- All Known Implementing Classes:
NumericVersion
,SimpleClusteredVersion
public interface EntryVersion
A version is used to compare entries against one another. Versions do not guarantee contiguity, but do guarantee to be comparable. However this comparability is not the same as the JDK'sComparable
interface. It is richer in thatComparable
doesn't differentiate between instances that are the same versus instances that are equal-but-different.- Since:
- 5.1
- Author:
- Manik Surtani
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InequalVersionComparisonResult
compareTo(EntryVersion other)
Compares the given version against the current instance.
-
-
-
Method Detail
-
compareTo
InequalVersionComparisonResult compareTo(EntryVersion other)
Compares the given version against the current instance.- Parameters:
other
- the other version to compare against- Returns:
- a InequalVersionComparisonResult instance
-
-