Package org.eclipse.aether.util.version
Class GenericVersion
java.lang.Object
org.eclipse.aether.util.version.GenericVersion
- All Implemented Interfaces:
Comparable<org.eclipse.aether.version.Version>,org.eclipse.aether.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.intcompareTo(org.eclipse.aether.version.Version obj) booleaninthashCode()toString()
-
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<org.eclipse.aether.version.Version>
-
equals
-
hashCode
-
toString
-