final class TypeReferenceVector extends Object
Modifier and Type | Field and Description |
---|---|
private TypeReference[] |
array |
private int |
cnt |
private static TypeReference[] |
empty |
private static WeakHashMap<TypeReferenceVector,TypeReference[]> |
popularTRVs |
Constructor and Description |
---|
TypeReferenceVector() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
addElement(TypeReference item) |
void |
addUniqueElement(TypeReference item) |
private void |
adjustLength(int newLength) |
(package private) TypeReference |
elementAt(int index) |
boolean |
equals(Object obj) |
TypeReference[] |
finish() |
int |
hashCode() |
(package private) void |
setElementAt(TypeReference item,
int index) |
int |
size() |
private TypeReference[] array
private int cnt
private static final TypeReference[] empty
private static final WeakHashMap<TypeReferenceVector,TypeReference[]> popularTRVs
TypeReferenceVector()
void addElement(TypeReference item)
public void addUniqueElement(TypeReference item)
TypeReference elementAt(int index)
void setElementAt(TypeReference item, int index)
public int size()
public TypeReference[] finish()
private void adjustLength(int newLength)