java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<T>, java.util.Collection<T>, java.util.List<T>, java.util.RandomAccesspublic final class ReadOnlyVector<T>
extends java.util.Vector<T>
| Constructor | Description | 
|---|---|
| ReadOnlyVector() | |
| ReadOnlyVector(int size) | |
| ReadOnlyVector(java.util.Enumeration<T> E) | |
| ReadOnlyVector(java.util.Iterator<T> E) | |
| ReadOnlyVector(java.util.List<T> E) | |
| ReadOnlyVector(java.util.Set<T> E) | |
| ReadOnlyVector(T E) | |
| ReadOnlyVector(T[] E) | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | add(int index,
   T element) | |
| boolean | add(T t) | |
| boolean | addAll(int index,
      java.util.Collection<? extends T> c) | |
| boolean | addAll(java.util.Collection<? extends T> c) | |
| void | addElement(T t) | |
| void | clear() | |
| void | insertElementAt(T obj,
               int index) | |
| T | remove(int index) | |
| boolean | remove(java.lang.Object o) | |
| boolean | removeAll(java.util.Collection<?> c) | |
| boolean | removeElement(java.lang.Object obj) | |
| void | removeElementAt(int index) | 
finalize, getClass, notify, notifyAll, wait, wait, waitcapacity, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, removeAllElements, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSizepublic ReadOnlyVector()
public ReadOnlyVector(java.util.List<T> E)
public ReadOnlyVector(T[] E)
public ReadOnlyVector(T E)
public ReadOnlyVector(java.util.Enumeration<T> E)
public ReadOnlyVector(java.util.Iterator<T> E)
public ReadOnlyVector(java.util.Set<T> E)
public ReadOnlyVector(int size)
public boolean add(T t)
public void removeElementAt(int index)
removeElementAt in class java.util.Vector<T>public boolean removeElement(java.lang.Object obj)
removeElement in class java.util.Vector<T>public boolean remove(java.lang.Object o)
public void add(int index,
                T element)
public T remove(int index)
public void clear()
public boolean removeAll(java.util.Collection<?> c)
public void insertElementAt(T obj, int index)
insertElementAt in class java.util.Vector<T>public boolean addAll(java.util.Collection<? extends T> c)