Machine-readable versions of this page. Markdown: https://graalvm.elide.help/25.6.0-elide.4/api/word/index-all.md . Index of every page (llms.txt): https://graalvm.elide.help/25.6.0-elide.4/api/word/llms.txt . The whole reference in one Markdown file: https://graalvm.elide.help/25.6.0-elide.4/api/word/llms-full.txt . Declaration contracts: https://graalvm.elide.help/25.6.0-elide.4/api/word/contracts.ndjson . The API model as JSON (apidocs/1): https://graalvm.elide.help/25.6.0-elide.4/api/word/api.json .
belowThan(int)method in UnsignedWord Compares this Unsigned with the specified value.
belowThan(UnsignedWord)method in UnsignedWord Compares this Unsigned with the specified value.
C
IComparableWordinterface in org.graalvm.word A machine-word-sized value that can be compared for equality.
compareAndSwapInt(int, int, …)method in Pointer In a single atomic step, compares the memory at address (this + offset) to the expected value, and if equal, exchanges it for the new value.
compareAndSwapInt(WordBase, int, …)method in Pointer In a single atomic step, compares the memory at address (this + offset) to the expected value, and if equal, exchanges it for the new value.
compareAndSwapLong(int, long, …)method in Pointer In a single atomic step, compares the memory at address (this + offset) to the expected value, and if equal, exchanges it for the new value.
compareAndSwapLong(WordBase, long, …)method in Pointer In a single atomic step, compares the memory at address (this + offset) to the expected value, and if equal, exchanges it for the new value.
compareAndSwapObject(int, Object, …)method in Pointer In a single atomic step, compares the memory at address (this + offset) to the expected value, and if equal, exchanges it for the new value.
compareAndSwapObject(WordBase, Object, …)method in Pointer In a single atomic step, compares the memory at address (this + offset) to the expected value, and if equal, exchanges it for the new value.
compareAndSwapWord(int, T, …)method in Pointer In a single atomic step, compares the memory at address (this + offset) to the expected value, and if equal, exchanges it for the new value.
compareAndSwapWord(WordBase, T, …)method in Pointer In a single atomic step, compares the memory at address (this + offset) to the expected value, and if equal, exchanges it for the new value.
E
equal(ComparableWord)method in ComparableWord Compares this word with the specified value.
equal(int)method in SignedWord Compares this Signed with the specified value.
equal(int)method in UnsignedWord Compares this Unsigned with the specified value.
equal(SignedWord)method in SignedWord Compares this Signed with the specified value.
equal(UnsignedWord)method in UnsignedWord Compares this Unsigned with the specified value.
equals(Object)method in WordBasedeprecated This is deprecated because of the easy to mistype name collision between equals and the other word based equality routines.
G
greaterOrEqual(int)method in SignedWord Compares this Signed with the specified value.
lessThan(int)method in SignedWord Compares this Signed with the specified value.
lessThan(SignedWord)method in SignedWord Compares this Signed with the specified value.
CLocationIdentityabstract class in org.graalvm.word Marker interface for location identities.
LocationIdentity()constructor in LocationIdentity Creates a new location identity.
logicCompareAndSwapInt(int, int, …)method in Pointer In a single atomic step, compares the memory at address (this + offset) to the expected value, and if equal, exchanges it for the new value.
logicCompareAndSwapInt(WordBase, int, …)method in Pointer In a single atomic step, compares the memory at address (this + offset) to the expected value, and if equal, exchanges it for the new value.
logicCompareAndSwapLong(int, long, …)method in Pointer In a single atomic step, compares the memory at address (this + offset) to the expected value, and if equal, exchanges it for the new value.
logicCompareAndSwapLong(WordBase, long, …)method in Pointer In a single atomic step, compares the memory at address (this + offset) to the expected value, and if equal, exchanges it for the new value.
logicCompareAndSwapObject(int, Object, …)method in Pointer In a single atomic step, compares the memory at address (this + offset) to the expected value, and if equal, exchanges it for the new value.
logicCompareAndSwapObject(WordBase, Object, …)method in Pointer In a single atomic step, compares the memory at address (this + offset) to the expected value, and if equal, exchanges it for the new value.
logicCompareAndSwapWord(int, WordBase, …)method in Pointer In a single atomic step, compares the memory at address (this + offset) to the expected value, and if equal, exchanges it for the new value.
logicCompareAndSwapWord(WordBase, WordBase, …)method in Pointer In a single atomic step, compares the memory at address (this + offset) to the expected value, and if equal, exchanges it for the new value.
M
multiply(int)method in SignedWord Returns a Signed whose value is (this * val).
multiply(int)method in UnsignedWord Returns a Unsigned whose value is (this * val).
multiply(SignedWord)method in SignedWord Returns a Signed whose value is (this * val).
multiply(UnsignedWord)method in UnsignedWord Returns a Unsigned whose value is (this * val).
N
not()method in SignedWord Returns a Signed whose value is (~this).
not()method in UnsignedWord Returns a Unsigned whose value is (~this).
notEqual(int)method in SignedWord Compares this Signed with the specified value.
notEqual(int)method in UnsignedWord Compares this Unsigned with the specified value.
notEqual(SignedWord)method in SignedWord Compares this Signed with the specified value.
notEqual(UnsignedWord)method in UnsignedWord Compares this Unsigned with the specified value.
nullPointer()method in WordFactory The null pointer, i.e., a word with all bits set to 0.
O
or(int)method in Pointer Returns a Pointer whose value is (this | val).
or(int)method in SignedWord Returns a Signed whose value is (this | val).
or(int)method in UnsignedWord Returns a Unsigned whose value is (this | val).
or(SignedWord)method in SignedWord Returns a Signed whose value is (this | val).
or(UnsignedWord)method in Pointer Returns a Pointer whose value is (this | val).
or(UnsignedWord)method in UnsignedWord Returns a Unsigned whose value is (this | val).
overlaps(LocationIdentity)method in LocationIdentity Returns true if the memory slice denoted by this location identity may overlap with the provided other location identity.
P
IPointerinterface in org.graalvm.word Lowest-level memory access of native C memory.
pointer(long)method in WordFactory Unsafe conversion from a Java long value to a pointer.
IPointerBaseinterface in org.graalvm.word Marker interface for all word types that have the semantic of a pointer (but not necessarily all the memory access methods defined in Pointer).
R
rawValue()method in WordBase Conversion to a Java primitive value.
readByte(int)method in Pointer Reads the memory at address (this + offset).