|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.util.ExpandableArray<T>
public final class ExpandableArray<T>
Expandable array which allows access to the underlying array.
Constructor Summary | |
---|---|
ExpandableArray(java.lang.Class<T> type)
|
Method Summary | |
---|---|
void |
add(T value)
|
T[] |
getArray()
|
int |
getCapacity()
|
int |
getSize()
|
void |
remove(int index)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExpandableArray(java.lang.Class<T> type)
Method Detail |
---|
public final int getCapacity()
public int getSize()
public final T[] getArray()
public final void add(T value)
public final void remove(int index)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |