Interface ComparableWord

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

public interface ComparableWord extends WordBase
A machine-word-sized value that can be compared for equality.
Since:
19.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Compares this word with the specified value.
    boolean
    Compares this word with the specified value.

    Methods inherited from interface org.graalvm.word.WordBase

    equals, rawValue
  • Method Details

    • equal

      boolean equal(ComparableWord val)
      Compares this word with the specified value.
      Parameters:
      val - value to which this word is to be compared.
      Returns:
      this == val
      Since:
      19.0
    • notEqual

      boolean notEqual(ComparableWord val)
      Compares this word with the specified value.
      Parameters:
      val - value to which this word is to be compared.
      Returns:
      this != val
      Since:
      19.0