| Klasse java.util.Vector | 1.0 |
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.Vector
| Datenelemente | |
|---|---|
| protected Object[] | elementData |
| protected int | elementCount |
| protected int | capacityIncrement |
| Konstruktoren | |
|---|---|
| public | Vector() |
| public | Vector(int initialCapacity) |
| public | Vector(Collection c) ![]() |
| public | Vector(int initialCapacity, int capacityIncrement) |
| Methoden | |
|---|---|
| public synchronized void | add(int index, Object element) ![]() |
| public synchronized boolean | addAll(Collection c) ![]() |
| public synchronized boolean | addAll(int index, Collection c) ![]() |
| public synchronized void | addElement(Object obj) |
| public int | capacity() |
| public synchronized void | clear() ![]() |
| public synchronized Object | clone() |
| public boolean | contains(Object elem) |
| public synchronized void | copyInto(Object[] anArray) |
| public synchronized Object | elementAt(int index) |
| public synchronized Enumeration | elements() |
| public synchronized void | ensureCapacity(int minCapacity) |
| public synchronized Object | firstElement() |
| public synchronized Object | get(int index) ![]() |
| public boolean | hasMoreElements() |
| public int | indexOf(Object elem) |
| public synchronized int | indexOf(Object elem, int index) |
| public synchronized void | insertElementAt(Object obj, int index) |
| public boolean | isEmpty() |
| public synchronized Object | lastElement() |
| public int | lastIndexOf(Object elem) |
| public synchronized int | lastIndexOf(Object elem, int index) |
| public Object | nextElement() |
| public synchronized Object | remove(int index) ![]() |
| public synchronized void | removeAllElements() |
| public synchronized boolean | removeElement(Object obj) |
| public synchronized void | removeElementAt(int index) |
| public synchronized Object | set(int index, Object element) ![]() |
| public synchronized void | setElementAt(Object obj, int index) |
| public synchronized void | setSize(int newSize) |
| public int | size() |
| public Object[] | toArray() ![]() |
| public synchronized void | trimToSize() |
![[1.2]](../../images/marg12.gif)
![[1.2]](../../images/marg12.gif)
![[1.2]](../../images/marg12.gif)
![[1.2]](../../images/marg12.gif)
![[1.2]](../../images/marg12.gif)
![[1.2]](../../images/marg12.gif)
![[1.2]](../../images/marg12.gif)
![[1.2]](../../images/marg12.gif)
![[1.2]](../../images/marg12.gif)