public final class LinkageTripletTable extends Object implements RuntimeTable<AddressArray>
Modifier and Type | Field and Description |
---|---|
private AddressArray[] |
data
The backing data used during boot image writing.
|
Modifier | Constructor and Description |
---|---|
private |
LinkageTripletTable(int size)
Private constructor.
|
Modifier and Type | Method and Description |
---|---|
static LinkageTripletTable |
allocate(int size)
Create a new LinkageTripletTable of the specified size.
|
AddressArray |
get(int index)
Get a LinkageTripletTable entry.
|
AddressArray[] |
getBacking()
Only called at boot image write time.
|
int |
length()
Return the length of the LinkageTripletTable
|
void |
set(int index,
AddressArray value)
Set a LinkageTripletTable entry.
|
private final AddressArray[] data
private LinkageTripletTable(int size)
size
- the table's sizepublic static LinkageTripletTable allocate(int size)
size
- The size of the LinkageTripletTablepublic AddressArray[] getBacking()
RuntimeTable
getBacking
in interface RuntimeTable<AddressArray>
public AddressArray get(int index)
get
in interface RuntimeTable<AddressArray>
index
- The index of the entry to getpublic void set(int index, AddressArray value)
set
in interface RuntimeTable<AddressArray>
index
- The index of the entry to setvalue
- The value to set the entry to.public int length()
length
in interface RuntimeTable<AddressArray>