DCT Lightfoot v3 API specification

java.lang
Class System

java.lang.Object
  |
  +--java.lang.System

public class System
extends Object


Field Summary
static java.io.PrintStream err
          The standard error stream
static java.io.PrintStream out
          The standard output stream
 
Method Summary
static void arraycopy(Object src, int src_pos, Object dst, int dst_pos, int length)
          Copy an array from a source array to a destination array
static long currentTimeMillis()
          Get the current time in milliseconds
static void exit(int status)
          Exit the current application
static void gc()
          Garbage collect
static java.lang.String getProperty(java.lang.String key)
          Get a property
static int identityHashCode(Object x)
          get the hash code for an object (this is the location of the object in memory).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

err

public static java.io.PrintStream err
The standard error stream


out

public static java.io.PrintStream out
The standard output stream

Method Detail

arraycopy

public static void arraycopy(Object src,
                             int src_pos,
                             Object dst,
                             int dst_pos,
                             int length)
Copy an array from a source array to a destination array

Parameters:
src - The source array
src_pos - The position in the source array to start
dst - The destination array
dst_pos - The position in the destination array to start
length - The number of elements to copy

currentTimeMillis

public static long currentTimeMillis()
Get the current time in milliseconds

Returns:
the time

exit

public static void exit(int status)
Exit the current application

Parameters:
status - The status code

gc

public static void gc()
Garbage collect


getProperty

public static java.lang.String getProperty(java.lang.String key)
                                    throws NullPointerException,
                                           IllegalArgumentException
Get a property

Parameters:
key - The property key
Returns:
the value or null if not found
Throws:
NullPointerException - if the key is null
IllegalArgumentException - if the key is empty

identityHashCode

public static int identityHashCode(Object x)
get the hash code for an object (this is the location of the object in memory). The hashcode for a null object is not the null value 0x80000008 but 0.

Parameters:
x - The object to get the hash code for

DCT Lightfoot v3 API specification

DCT Lightfoot v3 API specification