public final class IMT extends Object implements RuntimeTable<CodeArray>
Modifier and Type | Field and Description |
---|---|
private CodeArray[] |
data
The backing data used during boot image writing.
|
Modifier | Constructor and Description |
---|---|
private |
IMT()
Private constructor.
|
Modifier and Type | Method and Description |
---|---|
static IMT |
allocate()
Creates an IMT.
|
CodeArray |
get(int index)
Gets an entry in the IMT.
|
CodeArray[] |
getBacking()
Only called at boot image write time.
|
int |
length()
Returns the length of the IMT
|
void |
set(int index,
CodeArray value)
Sets an entry in the IMT.
|
private IMT()
public CodeArray[] getBacking()
RuntimeTable
getBacking
in interface RuntimeTable<CodeArray>
public CodeArray get(int index)
get
in interface RuntimeTable<CodeArray>
index
- The index of the entry to getpublic void set(int index, CodeArray value)
set
in interface RuntimeTable<CodeArray>
index
- The index of the entry to setvalue
- The value to set the entry to.public int length()
length
in interface RuntimeTable<CodeArray>