Class SemanticVersion
- java.lang.Object
-
- org.jetbrains.bsp.bazel.bazelrunner.data.SemanticVersion
-
- All Implemented Interfaces:
java.lang.Comparable<SemanticVersion>
public class SemanticVersion extends java.lang.Object implements java.lang.Comparable<SemanticVersion>
-
-
Constructor Summary
Constructors Constructor Description SemanticVersion(java.lang.String version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(SemanticVersion other)booleanequals(java.lang.Object that)intgetMajorVersion()intgetMinorVersion()intgetPatchVersion()inthashCode()
-
-
-
Method Detail
-
getMajorVersion
public int getMajorVersion()
-
getMinorVersion
public int getMinorVersion()
-
getPatchVersion
public int getPatchVersion()
-
compareTo
public int compareTo(SemanticVersion other)
- Specified by:
compareToin interfacejava.lang.Comparable<SemanticVersion>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equalsin classjava.lang.Object
-
-