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 TypeMethodDescriptionget(int fieldIndex) Retrieves a ValueHandle associated with the specified field index.intRetrieves the meta value associated with this MemoryKey.voidsetMetaValue(int i) Sets the meta value associated with this MemoryKey.
-
Method Details
-
get
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
-