|
Quilt Loader 1
|
Public Member Functions | |
| SemanticVersionImpl (String version, boolean storeX) throws VersionParsingException | |
| SemanticVersionImpl (org.quiltmc.loader.api.Version.Semantic quilt) | |
| SemanticVersion | getParent () |
| int | getVersionComponentCount () |
| Returns the number of components in this version. | |
| int | getVersionComponent (int pos) |
Returns the version component at pos. | |
| Optional< String > | getPrereleaseKey () |
| Returns the prerelease key in the version notation. | |
| Optional< String > | getBuildKey () |
| Returns the build key in the version notation. | |
| String | getFriendlyString () |
| Returns the user-friendly representation of this version. | |
| boolean | equals (Object o) |
| int | hashCode () |
| String | toString () |
| boolean | hasWildcard () |
| Returns if a wildcard notation is present in this version. | |
| boolean | equalsComponentsExactly (SemanticVersionImpl other) |
| int | compareTo (Version o) |
| Public Member Functions inherited from org.quiltmc.loader.impl.fabric.util.version.Quilt2FabricSemanticVersion | |
| Quilt2FabricSemanticVersion (org.quiltmc.loader.api.Version.Semantic quilt) | |
| Public Member Functions inherited from org.quiltmc.loader.impl.fabric.util.version.Quilt2FabricVersion | |
| int | compareTo (net.fabricmc.loader.api.Version o) |
| Public Member Functions inherited from net.fabricmc.loader.api.SemanticVersion | |
| default int | compareTo (SemanticVersion o) |
|
inline |
Returns the build key in the version notation.
The build key is indicated by a + in the version notation.
Reimplemented from org.quiltmc.loader.impl.fabric.util.version.Quilt2FabricSemanticVersion.
Reimplemented in net.fabricmc.loader.impl.util.version.SemanticVersionImpl.
|
inline |
Returns the user-friendly representation of this version.
Reimplemented from org.quiltmc.loader.impl.fabric.util.version.Quilt2FabricVersion.
Reimplemented in net.fabricmc.loader.impl.util.version.SemanticVersionImpl.
|
inline |
Returns the prerelease key in the version notation.
The prerelease key is indicated by a - before a + in the version notation.
Reimplemented from org.quiltmc.loader.impl.fabric.util.version.Quilt2FabricSemanticVersion.
Reimplemented in net.fabricmc.loader.impl.util.version.SemanticVersionImpl.
|
inline |
Returns the version component at pos.
May return COMPONENT_WILDCARD to indicate a wildcard component.
If the pos exceeds the number of components, returns COMPONENT_WILDCARD if the version has wildcard; otherwise returns 0.
| pos | the position to check |
Reimplemented from org.quiltmc.loader.impl.fabric.util.version.Quilt2FabricSemanticVersion.
Reimplemented in net.fabricmc.loader.impl.util.version.SemanticVersionImpl.
|
inline |
Returns the number of components in this version.
For example, 1.3.x has 3 components.
Reimplemented from org.quiltmc.loader.impl.fabric.util.version.Quilt2FabricSemanticVersion.
Reimplemented in net.fabricmc.loader.impl.util.version.SemanticVersionImpl.
|
inline |
Returns if a wildcard notation is present in this version.
A wildcard notation is a x, X, or * in the version string, such as 2.5.*.
Reimplemented from org.quiltmc.loader.impl.fabric.util.version.Quilt2FabricSemanticVersion.
Reimplemented in net.fabricmc.loader.impl.util.version.SemanticVersionImpl.
|
inline |
Reimplemented from org.quiltmc.loader.impl.fabric.util.version.Quilt2FabricVersion.