final class FieldVector extends Object
Modifier and Type | Field and Description |
---|---|
private RVMField[] |
array |
private int |
cnt |
private static RVMField[] |
empty |
private static WeakHashMap<FieldVector,RVMField[]> |
popularFVs |
Constructor and Description |
---|
FieldVector() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
addElement(RVMField item) |
private void |
adjustLength(int newLength) |
boolean |
equals(Object obj) |
RVMField[] |
finish() |
int |
hashCode() |
private int cnt
private static final WeakHashMap<FieldVector,RVMField[]> popularFVs
FieldVector()
void addElement(RVMField item)
public RVMField[] finish()
v1
and v2
will lead to the same array being returned for both v1
and v2
when this method is called.private void adjustLength(int newLength)