# word 25.6.0-elide.4 > API reference for word. Each page below is Markdown; the HTML page of the same name has the same content. llms-full.txt has every page in one file, and api.json is the apidocs/1 model. ## When to use this Use this API reference when you write, read or review code that uses word 25.6.0-elide.4. ## Overview - [⬢ word](index.md): packages and types - [Alphabetical index](index-all.md): find `Type.member` or search by behavior. Check the declaring type and overload, then follow the matching link. - [Declaration contracts](contracts.ndjson): full structured records for a known `Type.member`, including documented parameters, returns and throws. - [llms-full.txt](llms-full.txt): every page in one file - [api.json](api.json): the apidocs/1 model ## Pages - [▣ Package org.graalvm.word](org/graalvm/word/index.md): This package provides a low-level mechanism to use machine-word-sized values in Java. - [◇ ComparableWord (interface in org.graalvm.word)](org/graalvm/word/ComparableWord.md): A machine-word-sized value that can be compared for equality. equal(ComparableWord): Compares this word with the specified value. Returns: this.rawValue() == val.rawValue() notEqual(ComparableWord): Compares this word with the specified value. Returns: this.rawValue() != val.rawValue() - [◆ LocationIdentity (abstract class in org.graalvm.word)](org/graalvm/word/LocationIdentity.md): Marker interface for location identities. LocationIdentity(): Creates a new location identity. ANY_LOCATION: Indicates that the given location is the union of all possible mutable locations. INIT_LOCATION: Location only allowed to be used for writes. any(): Indicates that the given location is the union of all possible mutable locations. init(): Location only allowed to be used for writes. isImmutable(): Denotes a location is unchanging in all cases. isMutable(): The inversion of isImmutable. isAny(): Returns true if this location identity is any. - [◇ Pointer (interface in org.graalvm.word)](org/graalvm/word/Pointer.md): Lowest-level memory access of native C memory. toObject(): Unsafe conversion of this Pointer to a Java language object. Returns: this Pointer cast to Object. toObject(Class, boolean): Convert pointer to the type specified by the clazz argument. Returns: this Pointer cast to type T toObjectNonNull(): Unsafe conversion of this Pointer to a Java language object. Returns: this Pointer cast to non-null Object. readByte(WordBase, LocationIdentity): Reads the memory at address (this + offset). Returns: the result of the memory access readChar(WordBase, LocationIdentity): Reads the memory at address (this + offset). Returns: the result of the memo - [◇ PointerBase (interface in org.graalvm.word)](org/graalvm/word/PointerBase.md): Marker interface for all word types that have the semantic of a pointer (but not necessarily all the memory access methods defined in Pointer). isNull(): Returns true if this pointer is the null pointer. isNonNull(): Returns true if this pointer is not the null pointer. - [◇ SignedWord (interface in org.graalvm.word)](org/graalvm/word/SignedWord.md): Represents a signed word-sized value. add(SignedWord): Returns a Signed whose value is (this + val). Returns: this + val subtract(SignedWord): Returns a Signed whose value is (this - val). Returns: this - val multiply(SignedWord): Returns a Signed whose value is (this * val). Returns: this * val signedDivide(SignedWord): Returns a Signed whose value is (this / val). Returns: this / val signedRemainder(SignedWord): Returns a Signed whose value is (this % val). Returns: this % val shiftLeft(UnsignedWord): Returns a Signed whose value is (this \<\< n). Returns: this \<\< n signedShiftRight(UnsignedWord): Returns a Signed whose value is ( - [◇ UnsignedWord (interface in org.graalvm.word)](org/graalvm/word/UnsignedWord.md): Represents an unsigned word-sized value. add(UnsignedWord): Returns a Unsigned whose value is (this + val). Returns: this + val subtract(UnsignedWord): Returns a Unsigned whose value is (this - val). Returns: this - val multiply(UnsignedWord): Returns a Unsigned whose value is (this * val). Returns: this * val unsignedDivide(UnsignedWord): Returns a Unsigned whose value is (this / val). Returns: this / val unsignedRemainder(UnsignedWord): Returns a Unsigned whose value is (this % val). Returns: this % val shiftLeft(UnsignedWord): Returns a Unsigned whose value is (this \<\< n). Returns: this \<\< n unsignedShiftRight(UnsignedWord): Retur - [◇ WordBase (interface in org.graalvm.word)](org/graalvm/word/WordBase.md): The root of the interface hierarchy for machine-word-sized values. rawValue(): Conversion to a Java primitive value. equals(Object): Deprecated. This is deprecated because of the easy to mistype name collision between equals and the other word based equality routines. - [◆ WordFactory (class in org.graalvm.word)](org/graalvm/word/WordFactory.md): Provides factory method to create machine-word-sized values. zero(): The constant 0, i.e., the word with no bits set. Returns: the constant 0. nullPointer(): The null pointer, i.e., a word with all bits set to 0. Returns: a word value representing the null pointer unsigned(long): Creates a word whose value is supplied by val which is (lossily) narrowed on a 32-bit platform. Returns: the value cast to Word pointer(long): Unsafe conversion from a Java long value to a pointer. Returns: the value cast to PointerBase unsigned(int): Creates a word whose value is supplied by val which is zero-extended on a 64-bit platform. Returns: the value cast to Word signe ## Indexes - [Packages](packages.md): every package with its summary and type counts - [All types](types.md): every type, nested ones too, by name - [Index](index-all.md): every declaration from A to Z - [Deprecated](deprecated.md): everything deprecated, for removal first