|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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)
Creates a new ITable of the specified size. |
Object |
get(int index)
Gets an entry in the ITable. |
Object[] |
getBacking()
Only called at boot image write time. |
ArchitectureSpecific.CodeArray |
getCode(int index)
Gets 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)
Sets an entry in this ITable. |
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()
RuntimeTable
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 |