Interface Pointer

    • Nested Class Summary

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

      Fields 
      Modifier and Type Field Description
      static boolean BITS32
      Will be true on a 32bit JVM.
      static boolean BITS64
      Will be true on a 64bit JVM.
      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.
      • BITS32

        static final boolean BITS32
        Will be true on a 32bit JVM.
      • BITS64

        static final boolean BITS64
        Will be true on a 64bit JVM.
    • Method Detail

      • address

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