Package org.graalvm.word
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
A machine-word-sized value that can be compared for equality.
- Since:
- 19.0
-
Method Summary
Modifier and TypeMethodDescriptionbooleanequal(ComparableWord val) Compares this word with the specified value.booleannotEqual(ComparableWord val) Compares this word with the specified value.
-
Method Details
-
equal
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
Compares this word with the specified value.- Parameters:
val- value to which this word is to be compared.- Returns:
this != val- Since:
- 19.0
-