Interface ComparableWord
- All Superinterfaces:
WordBase
- All Known Subinterfaces:
Pointer,PointerBase,SignedWord,UnsignedWord
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
-