Class Version

  • All Implemented Interfaces:
    java.lang.Comparable<Version>

    public class Version
    extends java.lang.Object
    implements java.lang.Comparable<Version>
    Based on https://gist.github.com/brianguertin. This code was released into the public domain by Brian Guertin on July 8, 2016 citing, verbatim the unlicense.
    • Field Detail

      • UNKNOWN_VERSION

        public static final Version UNKNOWN_VERSION
    • Method Detail

      • of

        public static Version of​(java.lang.String version)
      • compareTo

        public int compareTo​(Version another)
        Specified by:
        compareTo in interface java.lang.Comparable<Version>