| com.google.gwt.emul.java.util.Vector
Vector | public class Vector extends AbstractList implements List<E>,RandomAccess,Cloneable,Serializable(Code) | | To keep performance characteristics in line with Java community expectations,
Vector is a wrapper around ArrayList . [Sun
docs]
< Parameters: E - > element type. |
Constructor Summary | |
public | Vector() | public | Vector(Collection<? extends E> c) | public | Vector(int initialCapacity) There is no speed advantage to pre-allocating array sizes in JavaScript, so
the intialCapacity parameter is ignored. |
Vector | public Vector(int initialCapacity)(Code) | | There is no speed advantage to pre-allocating array sizes in JavaScript, so
the intialCapacity parameter is ignored. This constructor is
only present for compatibility with JDK 1.5's API.
|
add | public boolean add(E o)(Code) | | |
add | public void add(int index, E o)(Code) | | |
addElement | public void addElement(E o)(Code) | | |
clear | public void clear()(Code) | | |
elementAt | public E elementAt(int index)(Code) | | |
ensureCapacity | public void ensureCapacity(int ignoredCapacity)(Code) | | There is no speed advantage to pre-allocating array sizes in JavaScript.
This method is only present for compatibility with the JRE.
|
firstElement | public E firstElement()(Code) | | |
get | public E get(int index)(Code) | | |
insertElementAt | public void insertElementAt(E o, int index)(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | |
lastElement | public E lastElement()(Code) | | |
lastIndexOf | public int lastIndexOf(Object o, int index)(Code) | | |
remove | public E remove(int index)(Code) | | |
removeAllElements | public void removeAllElements()(Code) | | |
removeElementAt | public void removeElementAt(int index)(Code) | | |
removeRange | protected void removeRange(int fromIndex, int endIndex)(Code) | | |
set | public E set(int index, E elem)(Code) | | |
setElementAt | public void setElementAt(E o, int index)(Code) | | |
setSize | public void setSize(int size)(Code) | | |
subList | public List<E> subList(int fromIndex, int toIndex)(Code) | | |
toArray | public T[] toArray(T[] a)(Code) | | |
trimToSize | public void trimToSize()(Code) | | Currently ignored.
|
|
|