Class ToolUnsafe


  • public final class ToolUnsafe
    extends java.lang.Object
    A Utility class for accessing the Unsafe.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ToolUnsafe()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static sun.misc.Unsafe getUnsafe()
      Fetch the Unsafe.
      • Methods inherited from class java.lang.Object

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

      • ToolUnsafe

        private ToolUnsafe()
    • Method Detail

      • getUnsafe

        public static sun.misc.Unsafe getUnsafe()
        Fetch the Unsafe. Use With Caution.
        Returns:
        an Unsafe instance.