add new print command
[IRC.git] / Robust / src / ClassLibrary / System.java
1 public class System {
2   public static void printInt(int x) {
3     String s=String.valueOf(x);
4     printString(s);
5   }
6
7   public static native long currentTimeMillis();
8
9   public static native void printString(String s);
10
11   public static void println(String s) {
12     System.printString(s);
13     System.printString("\n");
14   }
15
16   public static void error() {
17     System.printString("Error (Use Breakpoint on ___System______error method for more information!)\n");
18   }
19
20   public static native void exit(int status);
21
22   public static native void printI(int status);
23
24   public static native void clearPrefetchCache();
25
26   public static native void rangePrefetch(Object o, short[] offsets);
27
28 }