Module org.dyn4j
Package org.dyn4j

Class Version


  • public final class Version
    extends java.lang.Object
    The version of the engine.
    Since:
    1.0.0
    Version:
    3.4.1
    Author:
    William Bittle
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int getMajorNumber()
      Returns the major version number.
      static int getMinorNumber()
      Returns the minor version number.
      static int getRevisionNumber()
      Returns the revision number.
      static java.lang.String getVersion()
      Returns the version as a string.
      static int[] getVersionNumbers()
      Returns the version numbers in an array of ints.
      static void main​(java.lang.String[] args)
      Main class to print the version to the console.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getVersion

        public static final java.lang.String getVersion()
        Returns the version as a string.
        Returns:
        String
      • getVersionNumbers

        public static final int[] getVersionNumbers()
        Returns the version numbers in an array of ints.

        The array is of length 3 and has the major, minor, and revision numbers in that order.

        Returns:
        int[] the major, minor, and revision numbers
        Since:
        3.1.0
      • getMajorNumber

        public static final int getMajorNumber()
        Returns the major version number.
        Returns:
        int
        Since:
        3.1.0
      • getMinorNumber

        public static final int getMinorNumber()
        Returns the minor version number.
        Returns:
        int
        Since:
        3.1.0
      • getRevisionNumber

        public static final int getRevisionNumber()
        Returns the revision number.
        Returns:
        int
        Since:
        3.1.0
      • main

        public static final void main​(java.lang.String[] args)
        Main class to print the version to the console.
        Parameters:
        args - command line arguments (none accepted)