Interface Pointer

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface and Description
      static class  Pointer.Default
      Default Pointer implementation.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int POINTER_SHIFT
      The pointer size power-of-two.
      static int POINTER_SIZE
      The pointer size in bytes.
    • Field Detail

      • POINTER_SIZE

        static final int POINTER_SIZE
        The pointer size in bytes. Will be 4 on a 32bit JVM and 8 on a 64bit one.
      • POINTER_SHIFT

        static final int POINTER_SHIFT
        The pointer size power-of-two. Will be 2 on a 32bit JVM and 3 on a 64bit one.
    • Method Detail

      • address

        long address()
        Returns the raw pointer address as a long value.
        Returns:
        the pointer address