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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ValueHandle get​(int fieldIndex)
      Retrieves a ValueHandle associated with the specified field index.
      int getMetaValue()
      Retrieves the meta value associated with this MemoryKey.
      void setMetaValue​(int i)
      Sets the meta value associated with this MemoryKey.
    • Method Detail

      • get

        ValueHandle 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