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