From 877312184c472d9845e5ef1008bc538f4634059f Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Thu, 10 Aug 2017 18:50:56 +0300 Subject: fix missing source folder --- .../mods/fml/common/versioning/VersionRange.html | 479 --------------------- 1 file changed, 479 deletions(-) delete mode 100644 javadoc/cpw/mods/fml/common/versioning/VersionRange.html (limited to 'javadoc/cpw/mods/fml/common/versioning/VersionRange.html') diff --git a/javadoc/cpw/mods/fml/common/versioning/VersionRange.html b/javadoc/cpw/mods/fml/common/versioning/VersionRange.html deleted file mode 100644 index c6600c1..0000000 --- a/javadoc/cpw/mods/fml/common/versioning/VersionRange.html +++ /dev/null @@ -1,479 +0,0 @@ - - - - - -VersionRange (Forge API) - - - - - - - -
- - - - - -
- - - -
-
cpw.mods.fml.common.versioning
-

Class VersionRange

-
-
- -
-
    -
  • -
    -
    -
    public class VersionRange
    -extends java.lang.Object
    -
    Construct a version range from a specification.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRecommendedVersion

        -
        public ArtifactVersion getRecommendedVersion()
        -
      • -
      - - - -
        -
      • -

        getRestrictions

        -
        public java.util.List<Restriction> getRestrictions()
        -
      • -
      - - - - - - - -
        -
      • -

        newRange

        -
        public static VersionRange newRange(ArtifactVersion version,
        -                    java.util.List<Restriction> restrictions)
        -
        Factory method, for custom versioning schemes
        -
        Parameters:
        version - version
        restrictions - restriction list
        -
        Returns:
        a new version range
        -
      • -
      - - - -
        -
      • -

        createFromVersionSpec

        -
        public static VersionRange createFromVersionSpec(java.lang.String spec)
        -                                          throws InvalidVersionSpecificationException
        -
        Create a version range from a string representation -

        - Some spec examples are -

          -
        • 1.0 Version 1.0
        • -
        • [1.0,2.0) Versions 1.0 (included) to 2.0 (not included)
        • -
        • [1.0,2.0] Versions 1.0 to 2.0 (both included)
        • -
        • [1.5,) Versions 1.5 and higher
        • -
        • (,1.0],[1.2,) Versions up to 1.0 (included) and 1.2 or higher
        • -
        -
        Parameters:
        spec - string representation of a version or version range
        -
        Returns:
        a new VersionRange object that represents the spec
        -
        Throws:
        -
        InvalidVersionSpecificationException
        -
      • -
      - - - - - - - -
        -
      • -

        restrict

        -
        public VersionRange restrict(VersionRange restriction)
        -
        Creates and returns a new VersionRange that is a restriction of this - version range and the specified version range. -

        - Note: Precedence is given to the recommended version from this version range over the - recommended version from the specified version range. -

        -
        Parameters:
        restriction - the VersionRange that will be used to restrict this version - range.
        -
        Returns:
        the VersionRange that is a restriction of this version range and the - specified version range. -

        - The restrictions of the returned version range will be an intersection of the restrictions - of this version range and the specified version range if both version ranges have - restrictions. Otherwise, the restrictions on the returned range will be empty. -

        -

        - The recommended version of the returned version range will be the recommended version of - this version range, provided that ranges falls within the intersected restrictions. If - the restrictions are empty, this version range's recommended version is used if it is not - null. If it is null, the specified version range's recommended - version is used (provided it is non-null). If no recommended version can be - obtained, the returned version range's recommended version is set to null. -

        -
        Throws:
        -
        java.lang.NullPointerException - if the specified VersionRange is - null.
        -
      • -
      - - - -
        -
      • -

        toString

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

        containsVersion

        -
        public boolean containsVersion(ArtifactVersion version)
        -
      • -
      - - - -
        -
      • -

        hasRestrictions

        -
        public boolean hasRestrictions()
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals(java.lang.Object obj)
        -
        -
        Overrides:
        -
        equals in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        isUnboundedAbove

        -
        public boolean isUnboundedAbove()
        -
      • -
      - - - -
        -
      • -

        getLowerBoundString

        -
        public java.lang.String getLowerBoundString()
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - -- cgit v1.2.3