Top Description Methods
org.graalvm.word

public Interface ComparableWord

extends WordBase
Known Direct Subinterfaces
org.graalvm.word.PointerBase, org.graalvm.word.SignedWord, org.graalvm.word.UnsignedWord

A machine-word-sized value that can be compared for equality.
Since
19.0

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

this == val
equal
(ComparableWord
value to which this word is to be compared.
val
)

Compares this word with the specified value.

public boolean

Returns:

this != val
notEqual
(ComparableWord
value to which this word is to be compared.
val
)

Compares this word with the specified value.

Inherited from org.graalvm.word.WordBase:
equalsrawValue

Method Detail

equalback to summary
public boolean equal(ComparableWord val)

Compares this word with the specified value.

Parameters
val:ComparableWord

value to which this word is to be compared.

Returns:boolean

this == val

Since
19.0
notEqualback to summary
public boolean notEqual(ComparableWord val)

Compares this word with the specified value.

Parameters
val:ComparableWord

value to which this word is to be compared.

Returns:boolean

this != val

Since
19.0