org.kie.api.builder

## Class ReleaseIdComparator.ComparableVersion

- java.lang.Object
- - org.kie.api.builder.ReleaseIdComparator.ComparableVersion

- All Implemented Interfaces:
    Comparable<ReleaseIdComparator.ComparableVersion>
  Enclosing class:
    ReleaseIdComparator

      public static class ReleaseIdComparator.ComparableVersion
      extends Object
      implements Comparable<ReleaseIdComparator.ComparableVersion>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ComparableVersion(String version)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compareTo(ReleaseIdComparator.ComparableVersion o)`
    `boolean` | `equals(Object o)`
    `int` | `hashCode()`
    `void` | `parseVersion(String version)`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ComparableVersion

          public ComparableVersion(String version)

  - ### Method Detail

    - #### parseVersion

          public final void parseVersion(String version)

    - #### compareTo

          public int compareTo(ReleaseIdComparator.ComparableVersion o)

      Specified by:
        `compareTo` in interface `Comparable<ReleaseIdComparator.ComparableVersion>`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.