edu.jhu.tmaj.client.image.data
Class FastCollection<E>
java.lang.Object
edu.jhu.tmaj.client.image.data.FastCollection<E>
public final class FastCollection<E>
- extends java.lang.Object
Similar to a List, this class provides a fastIndexOf(object) method that is quicker. The
downside is, that unlike a list, elements can never be removed from this class, only added.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FastCollection
public FastCollection()
getListCopy
public java.util.List<E> getListCopy()
add
public void add(E object)
fastIndexOf
public int fastIndexOf(E object)
size
public int size()
get
public E get(int index)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object