Package org.jscience
Class JScience
- java.lang.Object
-
- org.jscience.JScience
-
public final class JScience extends Object
This class represents the JScience library; it contains the
main(java.lang.String[])
method for versionning, self-tests, and performance analysis.
-
-
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(String[] args)
The librarymain(java.lang.String[])
method.
-
-
-
Field Detail
-
VERSION
public static final String VERSION
Holds the version information.- See Also:
- Constant Field Values
-
MODULO
public static javolution.lang.Configurable<Character> MODULO
-
-
Method Detail
-
main
public static void main(String[] args) throws Exception
The librarymain(java.lang.String[])
method. The archiveis 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:
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 sincestartTime()
.
-
-