allow printing of objects with toString()
[IRC.git] / Robust / src / ClassLibrary / System.java
index b5f14429639f15322fc13fbdc97006438eefed8e..2fdbc2dda7ede75032079a869f41e7a98b2c4879 100644 (file)
@@ -8,6 +8,22 @@ public class System {
 
   public static native void printString(String s);
 
+  public static void println(String s) {
+    System.printString(s+"\n");
+  }
+  
+  public static void println(Object o) {
+    System.printString(""+o+"\n");
+  }
+  public static void print(String s) {
+    System.printString(s);
+  }
+
+  public static void print(Object o) {
+    System.printString(""+o);
+  }
+  
   public static void error() {
     System.printString("Error (Use Breakpoint on ___System______error method for more information!)\n");
   }
@@ -17,4 +33,7 @@ public class System {
   public static native void printI(int status);
 
   public static native void clearPrefetchCache();
+
+  public static native void rangePrefetch(Object o, short[] offsets);
+
 }