getSpecVersion() for comparison.
| Modifier and Type | Field and Description |
|---|---|
| public static final CLVersion | |
| public static final CLVersion | |
| public final String | fullversion
The full version String is defined as:
|
| public final String | implversion
The platform specific part of the version string. |
| public final short | major
Mayor version number. |
| public final short | minor
Minor version number. |
| private static final Pattern |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(final CLVersion
the object to be compared. other)Implements java. |
| private int | |
| public boolean | equals(final Object
the reference object with which to compare. obj)Overrides java. fullversion Strings match.
|
| public String | |
| public String | |
| public short | |
| public short | |
| public String | |
| public int | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public String |
| CL_1_0 | back to summary |
|---|---|
| public static final CLVersion CL_1_0 | |
| CL_1_1 | back to summary |
|---|---|
| public static final CLVersion CL_1_1 | |
| fullversion | back to summary |
|---|---|
| public final String fullversion The full version String is defined as:
| |
| implversion | back to summary |
|---|---|
| public final String implversion The platform specific part of the version string.
| |
| major | back to summary |
|---|---|
| public final short major Mayor version number.
| |
| minor | back to summary |
|---|---|
| public final short minor Minor version number.
| |
| pattern | back to summary |
|---|---|
| private static final Pattern pattern | |
| CLVersion | back to summary |
|---|---|
| protected CLVersion(final String version) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(final CLVersion other) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| compareTo | back to summary |
|---|---|
| private int compareTo(final int otherMajor, final int otherMinor) | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides java. Returns true if both
| |
| getFullVersion | back to summary |
|---|---|
| public String getFullVersion() Returns the full, unfiltered version string.
| |
| getImplVersion | back to summary |
|---|---|
public String getImplVersion()
| |
| getMajor | back to summary |
|---|---|
public short getMajor()
| |
| getMinor | back to summary |
|---|---|
public short getMinor()
| |
| getSpecVersion | back to summary |
|---|---|
| public String getSpecVersion() Returns | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isAtLeast | back to summary |
|---|---|
| public boolean isAtLeast(final CLVersion other) | |
| isAtLeast | back to summary |
|---|---|
| public boolean isAtLeast(final int major, final int minor) | |
| isEqual | back to summary |
|---|---|
| public boolean isEqual(final CLVersion other) | |
| isEqual | back to summary |
|---|---|
| public boolean isEqual(final int major, final int minor) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |