Class ReplacementForSystem


  • class ReplacementForSystem
    extends java.lang.Object
    Replacement methods for the class java.lang.System.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static void arraycopy()
      Replacement for System.arraycopy(Object, int, Object, int, int)
      (package private) static long currentTimeMillis()
      Replacement for System.currentTimeMillis()
      static void exit​(int status)
      Replacement for System.exit(int)
      (package private) static int identityHashCode​(java.lang.Object x)
      Replacement for System.identityHashCode(Object)
      (package private) static long nanoTime()
      Replacement for System.nanoTime()
      private static void registerNatives()
      Replacement for System.registerNatives()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReplacementForSystem

        ReplacementForSystem()
    • Method Detail

      • registerNatives

        private static void registerNatives()
        Replacement for System.registerNatives()
      • currentTimeMillis

        static long currentTimeMillis()
        Replacement for System.currentTimeMillis()
      • nanoTime

        static long nanoTime()
        Replacement for System.nanoTime()
      • arraycopy

        static void arraycopy()
        Replacement for System.arraycopy(Object, int, Object, int, int)
      • identityHashCode

        static int identityHashCode​(java.lang.Object x)
        Replacement for System.identityHashCode(Object)
      • exit

        public static void exit​(int status)
        Replacement for System.exit(int)