Package akka.util

Class Unsafe


  • @InternalApi
    public final class Unsafe
    extends java.lang.Object
    INTERNAL API
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static sun.misc.Unsafe instance  
    • Constructor Summary

      Constructors 
      Constructor Description
      Unsafe()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void copyUSAsciiStrToBytes​(java.lang.String str, byte[] bytes)  
      static int fastHash​(java.lang.String str)  
      • Methods inherited from class java.lang.Object

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

      • instance

        public static final sun.misc.Unsafe instance
    • Constructor Detail

      • Unsafe

        public Unsafe()
    • Method Detail

      • copyUSAsciiStrToBytes

        public static void copyUSAsciiStrToBytes​(java.lang.String str,
                                                 byte[] bytes)
      • fastHash

        public static int fastHash​(java.lang.String str)