Package org.eclipse.aether.util.version
Class GenericVersion
java.lang.Object
org.eclipse.aether.util.version.GenericVersion
- All Implemented Interfaces:
Comparable<Version>,Version
A generic version, that is a version that accepts any input string and tries to apply common sense sorting. See
GenericVersionScheme for details.-
Method Summary
Modifier and TypeMethodDescriptionList<org.eclipse.aether.util.version.GenericVersion.Item> asItems()Returns this instance tokenized representation as unmodifiable list.asString()Returns this instance backing string representation.intbooleaninthashCode()toString()Gets the original string representation of the version.
-
Method Details
-
asString
Returns this instance backing string representation.- Since:
- 1.9.5
-
asItems
Returns this instance tokenized representation as unmodifiable list.- Since:
- 1.9.5
-
compareTo
- Specified by:
compareToin interfaceComparable<Version>
-
equals
-
hashCode
-
toString
Description copied from interface:VersionGets the original string representation of the version.
-