Interface CLongPointer

All Superinterfaces:
ComparableWord, PointerBase, WordBase

public interface CLongPointer extends PointerBase
A pointer to a 64-bit C primitive value.
Since:
19.0
  • Method Summary

    Modifier and Type
    Method
    Description
    addressOf(int index)
    Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
    Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
    long
    Reads the value at the pointer address.
    long
    read(int index)
    Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
    long
    Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
    void
    write(int index, long value)
    Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
    void
    write(long value)
    Writes the value at the pointer address.
    void
    write(SignedWord index, long value)
    Writes the value of the array element with the specified index, treating the pointer as an array of the C type.

    Methods inherited from interface ComparableWord

    equal, notEqual
    Modifier and Type
    Method
    Description
    boolean
    Compares this word with the specified value.
    boolean
    Compares this word with the specified value.

    Methods inherited from interface PointerBase

    isNonNull, isNull
    Modifier and Type
    Method
    Description
    boolean
    Returns true if this pointer is not the null pointer.
    boolean
    Returns true if this pointer is the null pointer.

    Methods inherited from interface WordBase

    equals, rawValue
    Modifier and Type
    Method
    Description
    boolean
    Deprecated.
    long
    Conversion to a Java primitive value.
  • Method Details

    • read

      long read()
      Reads the value at the pointer address.
      Since:
      19.0
    • read

      long read(int index)
      Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
      Since:
      19.0
    • read

      long read(SignedWord index)
      Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
      Since:
      19.0
    • write

      void write(long value)
      Writes the value at the pointer address.
      Since:
      19.0
    • write

      void write(int index, long value)
      Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
      Since:
      19.0
    • write

      void write(SignedWord index, long value)
      Writes the value of the array element with the specified index, treating the pointer as an array of the C type.
      Since:
      19.0
    • addressOf

      CLongPointer addressOf(int index)
      Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
      Since:
      19.0
    • addressOf

      CLongPointer addressOf(SignedWord index)
      Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
      Since:
      19.0