Skip to main content

System

Complete API reference for System, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: Uncategorized

Component: no


public class System

Static Methods

SignatureReturnsDescription
gc()voidRuns the Java garbage collector.
exit()voidQuits the game by calling GameController.quit().
exit(int)voidQuits the game by calling GameController.quit().
load(String)voidNot supported.
loadLibrary(String)voidNot supported.
mapLibraryName(String)StringNot supported.
lineSeparator()StringReturns the line separator string for the current operating system.
arraycopy(Object, int, Object, int, int)voidCopies an array from the specified source to the specified destination.
currentTimeMillis()longReturns the current time in milliseconds.
nanoTime()longReturns the current time in nanoseconds.