Package org.jscience

Class JScience


  • public final class JScience
    extends java.lang.Object

    This class represents the JScience library; it contains the main(java.lang.String[]) method for versionning, self-tests, and performance analysis.

    Version:
    3.0, February 13, 2006
    Author:
    Jean-Marie Dautelle
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static javolution.lang.Configurable<java.lang.Character> MODULO  
      static java.lang.String VERSION
      Holds the version information.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void endTime​(int iterations)
      Ends measuring time and display the execution time per iteration.
      static void main​(java.lang.String[] args)
      The library main(java.lang.String[]) method.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULO

        public static javolution.lang.Configurable<java.lang.Character> MODULO
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        The library main(java.lang.String[]) method. The archive is auto-executable.
        • java [-cp javolution.jar] -jar jscience.jar version to output version information.
        • java [-cp javolution.jar] -jar jscience.jar test to perform self-tests.
        • java [-cp javolution.jar] -jar jscience.jar perf for performance analysis.
        Parameters:
        args - the option arguments.
        Throws:
        java.lang.Exception - if a problem occurs.
      • endTime

        public static void endTime​(int iterations)
        Ends measuring time and display the execution time per iteration.
        Parameters:
        iterations - the number iterations performed since startTime().