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