|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.System
public final class System
System utilities.
Field Summary | |
---|---|
static PrintStream |
err
|
static PrintStream |
out
|
Method Summary | |
---|---|
static void |
arraycopy(Object src,
int srcOffset,
Object dest,
int destOffset,
int length)
Copies one array to another. |
static long |
currentTimeMillis()
Current time expressed in milliseconds. |
static void |
exit(int code)
Terminate the application. |
static void |
gc()
Collect garbage |
static Runtime |
getRuntime()
Get the singleton instance of Runtime. |
static int |
identityHashCode(Object obj)
|
static long |
nanoTime()
|
static void |
setErr(PrintStream err)
Redirect System.err |
static void |
setOut(PrintStream out)
Redirect System.out |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static PrintStream out
public static PrintStream err
Method Detail |
---|
public static void arraycopy(Object src, int srcOffset, Object dest, int destOffset, int length)
public static void exit(int code)
public static long currentTimeMillis()
public static Runtime getRuntime()
public static int identityHashCode(Object obj)
public static void gc()
public static void setOut(PrintStream out)
out
- a PrintStreampublic static void setErr(PrintStream err)
err
- a PrintStreampublic static long nanoTime()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |