Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

konspire.common
Class Vector  view Vector download Vector.java

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.Vector
              extended bykonspire.common.Vector
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.lang.Iterable, java.util.List, java.util.RandomAccess, java.io.Serializable

public class Vector
extends java.util.Vector

Extends Java 1.1 Vector to provide some 1.2 functionality.

Will be replaced permanently by the 1.2 Vector implementation (or java.util.ArrayList) once every konspire target platform has access to Java 1.2.


Nested Class Summary
 
Nested classes inherited from class java.util.AbstractList
 
Field Summary
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
Vector()
           
Vector(int startSize)
          Constructs a Vector using standard java.util.Vector constructor parameters.
Vector(java.util.Vector start)
          Constructs a Vector that starts with elements from a starting java.util.Vector.
 
Method Summary
 boolean addAll(java.util.Vector v)
          Adds all elements from a java.util.Vector to this Vector.
 boolean retainAll(java.util.Vector v)
          Takes the intersection of this Vector with a java.util.Vector.
 java.lang.Object[] toArray()
          Extracts elements from this Vector in the form of an array.
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.util.AbstractCollection
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

Vector

public Vector()

Vector

public Vector(java.util.Vector start)
Constructs a Vector that starts with elements from a starting java.util.Vector.


Vector

public Vector(int startSize)
Constructs a Vector using standard java.util.Vector constructor parameters.

Method Detail

addAll

public boolean addAll(java.util.Vector v)
Adds all elements from a java.util.Vector to this Vector.


retainAll

public boolean retainAll(java.util.Vector v)
Takes the intersection of this Vector with a java.util.Vector.


toArray

public java.lang.Object[] toArray()
Extracts elements from this Vector in the form of an array.