public final class System extends Object
Modifier and Type | Field and Description |
---|---|
static PrintStream |
err
Does nothing in web mode.
|
static PrintStream |
out
Does nothing in web mode.
|
Constructor and Description |
---|
System() |
Modifier and Type | Method and Description |
---|---|
static void |
arraycopy(Object src,
int srcOfs,
Object dest,
int destOfs,
int len) |
static long |
currentTimeMillis() |
static void |
gc()
Has no effect; just here for source compatibility.
|
static String |
getProperty(String key,
String def)
Always returns default, used for source compatibility
|
static int |
identityHashCode(Object o) |
static void |
setErr(PrintStream err) |
static void |
setOut(PrintStream out) |
public static final PrintStream err
setErr(PrintStream)
.public static final PrintStream out
PrintStream
and call setOut(PrintStream)
.public static long currentTimeMillis()
public static void gc()
public static String getProperty(String key, String def)
public static int identityHashCode(Object o)
public static void setErr(PrintStream err)
public static void setOut(PrintStream out)
Copyright © 2018. All rights reserved.