|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.objectmodel.ITableArray
public final class ITableArray
This class represents an instance of an array of interface tables.
Field Summary | |
---|---|
private ITable[] |
backingData
The backing data used during boot image writing. |
Constructor Summary | |
---|---|
private |
ITableArray(int size)
Private constructor. |
Method Summary | |
---|---|
static ITableArray |
allocate(int size)
Create a new array of ITable of the specified size. |
ITable |
get(int index)
Get an ITable entry from the array. |
ITable[] |
getBacking()
Return the backing array (for boot image writing) |
int |
length()
Return the length of the array of ITable |
void |
set(int index,
ITable value)
Set an ITable entry in the array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final ITable[] backingData
Constructor Detail |
---|
private ITableArray(int size)
Method Detail |
---|
public ITable[] getBacking()
getBacking
in interface RuntimeTable<ITable>
public static ITableArray allocate(int size)
ITable
of the specified size.
size
- The size of the array
public ITable get(int index)
ITable
entry from the array.
get
in interface RuntimeTable<ITable>
index
- The index of the entry to get
public void set(int index, ITable value)
ITable
entry in the array.
set
in interface RuntimeTable<ITable>
index
- The index of the entry to setvalue
- The value to set the entry to.public int length()
ITable
length
in interface RuntimeTable<ITable>
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |