java > java.util > java.util.vector >

Class: java.util.Vector
    java.lang.Object
       java.util.AbstractCollection
               java.util.AbstractList
                       java.util.Vector


public class Vector extends AbstractList implements List, RandomAccess, Cloneable, Serializable


FIELDS:
protected int capacityIncrement
protected int elementCount
protected Object[] elementData

CONSTRUCTORS:
public Vector(int initialCapacity, int capacityIncrement)

public Vector(int initialCapacity)

public Vector()

public Vector(Collection c)


METHODS:
public void add(int index, Object element)
Throws: ArrayIndexOutOfBoundsException
Overrides: AbstractList

public boolean add(Object e)
Overrides: AbstractList
Overrides: AbstractCollection

public boolean addAll(int index, Collection c)
Throws: ArrayIndexOutOfBoundsException
Throws: NullPointerException
Overrides: AbstractList

public boolean addAll(Collection c)
Throws: NullPointerException
Overrides: AbstractCollection

public void addElement(Object obj)

public int capacity()

public void clear()
Overrides: AbstractList
Overrides: AbstractCollection

public Object clone()
Overrides: Object

public boolean contains(Object o)
Overrides: AbstractCollection

public boolean containsAll(Collection c)
Throws: NullPointerException
Overrides: AbstractCollection

public void copyInto(Object[] anArray)
Throws: NullPointerException
Throws: IndexOutOfBoundsException
Throws: ArrayStoreException

public Object elementAt(int index)
Throws: ArrayIndexOutOfBoundsException

public Enumeration elements()

public void ensureCapacity(int minCapacity)

public boolean equals(Object o)
Overrides: AbstractList
Overrides: Object

public Object firstElement()
Throws: NoSuchElementException

public Object get(int index)
Throws: ArrayIndexOutOfBoundsException
Overrides: AbstractList

public int hashCode()
Overrides: AbstractList
Overrides: Object

public int indexOf(Object o)
Overrides: AbstractList

public int indexOf(Object o, int index)
Throws: IndexOutOfBoundsException

public void insertElementAt(Object obj, int index)
Throws: ArrayIndexOutOfBoundsException

public boolean isEmpty()
Overrides: AbstractCollection

public Object lastElement()
Throws: NoSuchElementException

public int lastIndexOf(Object o)
Overrides: AbstractList

public int lastIndexOf(Object o, int index)
Throws: IndexOutOfBoundsException

public Object remove(int index)
Throws: ArrayIndexOutOfBoundsException
Overrides: AbstractList

public boolean remove(Object o)
Overrides: AbstractCollection

public boolean removeAll(Collection c)
Throws: ClassCastException
Throws: NullPointerException
Overrides: AbstractCollection

public void removeAllElements()

public boolean removeElement(Object obj)

public void removeElementAt(int index)
Throws: ArrayIndexOutOfBoundsException

protected void removeRange(int fromIndex, int toIndex)
Overrides: AbstractList

public boolean retainAll(Collection c)
Throws: ClassCastException
Throws: NullPointerException
Overrides: AbstractCollection

public Object set(int index, Object element)
Throws: ArrayIndexOutOfBoundsException
Overrides: AbstractList

public void setElementAt(Object obj, int index)
Throws: ArrayIndexOutOfBoundsException

public void setSize(int newSize)
Throws: ArrayIndexOutOfBoundsException

public int size()
Overrides: AbstractCollection

public List subList(int fromIndex, int toIndex)
Throws: IndexOutOfBoundsException
Throws: IllegalArgumentException
Overrides: AbstractList

public Object[] toArray()
Overrides: AbstractCollection

public Object[] toArray(Object[] a)
Throws: ArrayStoreException
Throws: NullPointerException
Overrides: AbstractCollection

public String toString()
Overrides: AbstractCollection
Overrides: Object

public void trimToSize()


INHERITED METHODS:
add(java.lang.Object), add(int, java.lang.Object), get(int), set(int, java.lang.Object), remove(int), indexOf(java.lang.Object), lastIndexOf(java.lang.Object), clear(), addAll(int, java.util.Collection), iterator(), listIterator(), listIterator(int), subList(int, int), equals(java.lang.Object), hashCode(), removeRange(int, int), iterator(), size(), isEmpty(), contains(java.lang.Object), toArray(), toArray(java.lang.Object[]), add(java.lang.Object), remove(java.lang.Object), containsAll(java.util.Collection), addAll(java.util.Collection), removeAll(java.util.Collection), retainAll(java.util.Collection), clear(), toString(), getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(),

SUBCLASSES:
Stack,





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net