Package org.kie.api.builder
Class ReleaseIdComparator.ComparableVersion
- java.lang.Object
-
- org.kie.api.builder.ReleaseIdComparator.ComparableVersion
-
- All Implemented Interfaces:
java.lang.Comparable<ReleaseIdComparator.ComparableVersion>
- Enclosing class:
- ReleaseIdComparator
public static class ReleaseIdComparator.ComparableVersion extends java.lang.Object implements java.lang.Comparable<ReleaseIdComparator.ComparableVersion>
-
-
Constructor Summary
Constructors Constructor Description ComparableVersion(java.lang.String version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ReleaseIdComparator.ComparableVersion o)
boolean
equals(java.lang.Object o)
int
hashCode()
void
parseVersion(java.lang.String version)
java.lang.String
toString()
-
-
-
Method Detail
-
parseVersion
public final void parseVersion(java.lang.String version)
-
compareTo
public int compareTo(ReleaseIdComparator.ComparableVersion o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<ReleaseIdComparator.ComparableVersion>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-