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's
Comparable
interface. It is
richer in that Comparable
doesn't differentiate between instances that are the same versus instances that
are equal-but-different.- Since:
- 5.1
- Author:
- Manik Surtani
-
Method Summary
Modifier and TypeMethodDescriptioncompareTo
(EntryVersion other) Compares the given version against the current instance.
-
Method Details
-
compareTo
Compares the given version against the current instance.- Parameters:
other
- the other version to compare against- Returns:
- a InequalVersionComparisonResult instance
-