public class UnmodifiableVector extends Vector
capacityIncrement, elementCount, elementDatamodCount| Constructor and Description |
|---|
UnmodifiableVector(Vector v) |
forEach, removeIf, removeRange, replaceAll, sort, spliteratorfinalize, getClass, notify, notifyAll, wait, wait, waitparallelStream, streampublic UnmodifiableVector(Vector v)
public void trimToSize()
trimToSize in class Vectorpublic void ensureCapacity(int minCapacity)
ensureCapacity in class Vectorpublic int size()
public boolean isEmpty()
public Enumeration elements()
public boolean contains(Object elem)
public int indexOf(Object elem)
public int lastIndexOf(Object elem)
lastIndexOf in interface ListlastIndexOf in class Vectorpublic int lastIndexOf(Object elem, int index)
lastIndexOf in class Vectorpublic Object firstElement()
firstElement in class Vectorpublic Object lastElement()
lastElement in class Vectorpublic void setElementAt(Object obj, int index)
setElementAt in class Vectorpublic void removeElementAt(int index)
removeElementAt in class Vectorpublic void insertElementAt(Object obj, int index)
insertElementAt in class Vectorpublic void addElement(Object obj)
addElement in class Vectorpublic boolean removeElement(Object obj)
removeElement in class Vectorpublic void removeAllElements()
removeAllElements in class Vectorpublic Object[] toArray()
public boolean add(Object o)
public boolean remove(Object o)
public void add(int index,
Object element)
public Object remove(int index)
public void clear()
public boolean containsAll(Collection c)
containsAll in interface CollectioncontainsAll in interface ListcontainsAll in class Vectorpublic boolean addAll(Collection c)
public boolean removeAll(Collection c)
public boolean retainAll(Collection c)
public boolean addAll(int index,
Collection c)
public boolean equals(Object o)
public int hashCode()
public List subList(int fromIndex, int toIndex)
public ListIterator listIterator()
listIterator in interface ListlistIterator in class Vectorpublic ListIterator listIterator(int index)
listIterator in interface ListlistIterator in class VectorCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.