Module org.dyn4j
Package org.dyn4j

Class Version


  • public final class Version
    extends Object
    The version of the engine.
    Since:
    1.0.0
    Version:
    4.0.2
    Author:
    William Bittle
    • Method Detail

      • getVersion

        public static final 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​(String[] args)
        Main class to print the version to the console.
        Parameters:
        args - command line arguments (none accepted)