|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.classloader.MethodVector
final class MethodVector
Lightweight implementation of a vector of Fields.
Field Summary | |
---|---|
private RVMMethod[] |
array
|
private int |
cnt
|
private static RVMMethod[] |
empty
|
private static WeakHashMap<MethodVector,RVMMethod[]> |
popularMVs
|
Constructor Summary | |
---|---|
MethodVector()
|
Method Summary | |
---|---|
(package private) void |
addElement(RVMMethod item)
|
void |
addUniqueElement(RVMMethod item)
|
private void |
adjustLength(int newLength)
|
(package private) RVMMethod |
elementAt(int index)
|
boolean |
equals(Object obj)
|
RVMMethod[] |
finish()
|
int |
hashCode()
|
(package private) void |
setElementAt(RVMMethod item,
int index)
|
int |
size()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private RVMMethod[] array
private int cnt
private static final RVMMethod[] empty
private static final WeakHashMap<MethodVector,RVMMethod[]> popularMVs
Constructor Detail |
---|
public MethodVector()
Method Detail |
---|
void addElement(RVMMethod item)
public void addUniqueElement(RVMMethod item)
RVMMethod elementAt(int index)
void setElementAt(RVMMethod item, int index)
public int size()
public RVMMethod[] finish()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
private void adjustLength(int newLength)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |