mirror of
https://github.com/corda/corda.git
synced 2025-01-01 02:36:44 +00:00
27 lines
647 B
Java
27 lines
647 B
Java
package java.lang;
|
|
|
|
public abstract class System {
|
|
public static final Output out = new Output();
|
|
public static final Output err = out;
|
|
|
|
static {
|
|
loadLibrary("natives");
|
|
}
|
|
|
|
public static native void arraycopy(Object src, int srcOffset, Object dst,
|
|
int dstOffset, int length);
|
|
|
|
public static native void loadLibrary(String name);
|
|
|
|
public static native String getProperty(String name);
|
|
|
|
public static class Output {
|
|
public synchronized native void print(String s);
|
|
|
|
public synchronized void println(String s) {
|
|
print(s);
|
|
print(getProperty("line.separator"));
|
|
}
|
|
}
|
|
}
|