Interface WordBase

All Known Subinterfaces:
CCharPointer, CCharPointerPointer, CDoublePointer, CFloatPointer, CFunctionPointer, CIntPointer, CIntPointerPointer, CLongPointer, CodePointer, ComparableWord, CShortPointer, Isolate, IsolateThread, ObjectHandle, Pointer, PointerBase, RelocatedPointer, SignedWord, UnsignedWord, VoidPointer, WordPointer

public interface WordBase
The root of the interface hierarchy for machine-word-sized values. Word values must only be compared with == in code guaranteed not to be using boxed word values. In all other code, use w1.rawValue() == w2.rawValue() or ComparableWord.equal(ComparableWord).
Since:
19.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated.
    long
    Conversion to a Java primitive value.
  • Method Details

    • rawValue

      long rawValue()
      Conversion to a Java primitive value.
      Since:
      19.0
    • equals

      @Deprecated boolean equals(Object o)
      Deprecated.
      This is deprecated because of the easy to mistype name collision between equals and the other word based equality routines. In general, never statically call this method.
      Overrides:
      equals in class Object
      Since:
      19.0