Interface MemoryKey


public interface MemoryKey
This interface represents a multi-value key used for accessing values from memory. It provides methods to get and set the meta value associated with the key, as well as retrieve a specific value from the key.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(int fieldIndex)
    Retrieves a ValueHandle associated with the specified field index.
    int
    Retrieves the meta value associated with this MemoryKey.
    void
    setMetaValue(int i)
    Sets the meta value associated with this MemoryKey.
  • Method Details

    • get

      FieldValue get(int fieldIndex)
      Retrieves a ValueHandle associated with the specified field index.
      Parameters:
      fieldIndex - the index of the field
      Returns:
      the ValueHandle associated with the field
    • getMetaValue

      int getMetaValue()
      Retrieves the meta value associated with this MemoryKey.
      Returns:
      the meta value
    • setMetaValue

      void setMetaValue(int i)
      Sets the meta value associated with this MemoryKey.
      Parameters:
      i - the new meta value to set