com.caucho.util
Class ExpandableArray<T>

java.lang.Object
  extended by com.caucho.util.ExpandableArray<T>

public final class ExpandableArray<T>
extends java.lang.Object

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

ExpandableArray

public ExpandableArray(java.lang.Class<T> type)
Method Detail

getCapacity

public final int getCapacity()

getSize

public int getSize()

getArray

public final T[] getArray()

add

public final void add(T value)

remove

public final void remove(int index)