From dc3df3edd5843bde0c1335d6a8e460b2c832aa48 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Sat, 17 Jun 2017 08:12:18 +0300 Subject: full project files --- .../fml/common/versioning/ComparableVersion.html | 351 +++++++++++++++++++++ 1 file changed, 351 insertions(+) create mode 100644 javadoc/cpw/mods/fml/common/versioning/ComparableVersion.html (limited to 'javadoc/cpw/mods/fml/common/versioning/ComparableVersion.html') diff --git a/javadoc/cpw/mods/fml/common/versioning/ComparableVersion.html b/javadoc/cpw/mods/fml/common/versioning/ComparableVersion.html new file mode 100644 index 0000000..e3461ae --- /dev/null +++ b/javadoc/cpw/mods/fml/common/versioning/ComparableVersion.html @@ -0,0 +1,351 @@ + + + + + +ComparableVersion (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
cpw.mods.fml.common.versioning
+

Class ComparableVersion

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.lang.Comparable<ComparableVersion>
    +
    +
    +
    +
    public class ComparableVersion
    +extends java.lang.Object
    +implements java.lang.Comparable<ComparableVersion>
    +
    Generic implementation of version comparison. + +

    Features: +

      +
    • mixing of '-' (dash) and '.' (dot) separators,
    • +
    • transition between characters and digits also constitutes a separator: + 1.0alpha1 => [1, 0, alpha, 1]
    • +
    • unlimited number of version components,
    • +
    • version components in the text can be digits or strings,
    • +
    • strings are checked for well-known qualifiers and the qualifier ordering is used for version ordering. + Well-known qualifiers (case insensitive) are:
        +
      • snapshot
      • +
      • alpha or a
      • +
      • beta or b
      • +
      • milestone or m
      • +
      • rc or cr
      • +
      • (the empty string) or ga or final
      • +
      • sp
      • +
      + Unknown qualifiers are considered after known qualifiers, with lexical order (always case insensitive), +
    • +
    • a dash usually precedes a qualifier, and is always less important than something preceded with a dot.
    • +

    +
    See Also:
    "Versioning" on Maven Wiki
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      ComparableVersion(java.lang.String version) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      intcompareTo(ComparableVersion o) 
      booleanequals(java.lang.Object o) 
      inthashCode() 
      voidparseVersion(java.lang.String version) 
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ComparableVersion

        +
        public ComparableVersion(java.lang.String version)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        parseVersion

        +
        public final void parseVersion(java.lang.String version)
        +
      • +
      + + + + + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(java.lang.Object o)
        +
        +
        Overrides:
        +
        equals in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3