java.lang.Object
net.i2p.router.update.ConsoleUpdateManager.Version
- All Implemented Interfaces:
Comparable<ConsoleUpdateManager.Version>
- Direct Known Subclasses:
ConsoleUpdateManager.VersionAvailable
- Enclosing class:
ConsoleUpdateManager
static class ConsoleUpdateManager.Versionextends Object implements Comparable<ConsoleUpdateManager.Version>
The version string of an installed or downloaded update, ordered numerically or by date against other versions.
Field Summary
FieldsConstructor Summary
ConstructorsMethod Summary
All Methods
Field Details
versionStr
The version string, either a number or an ISO date.
Constructor Details
Version
Wrap the version string for comparison and display.- Parameters:
version- the version string, either a number or an ISO date
Method Details
compareTo
Orders versions oldest to newest.- Specified by:
compareToin interfaceComparable<ConsoleUpdateManager.Version>
hashCode
equals
toString