All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.dorm4.util.Vector

java.lang.Object
   |
   +----java.util.Vector
           |
           +----org.dorm4.util.Vector

public class Vector
extends Vector
Adds better array handling and sorting to the standard Vector


Constructor Index

 o Vector()
 o Vector(int)
 o Vector(int, int)
 o Vector(Object[])
Creates a Vector out of an array with an addition capacity of 10
 o Vector(Object[], int)
Creates a Vector out of an array
 o Vector(Vector)

Method Index

 o add(Object[])
Adds the array elements
 o sort()
Sorts with a StringComparer
 o sort(IComparer)
Sorts with the specified comparer

Constructors

 o Vector
 public Vector()
 o Vector
 public Vector(int cap)
 o Vector
 public Vector(int cap,
               int inc)
 o Vector
 public Vector(Object objs[],
               int addCap)
Creates a Vector out of an array

Parameters:
objs - the array
addCap - additional capacity
 o Vector
 public Vector(Object objs[])
Creates a Vector out of an array with an addition capacity of 10

Parameters:
objs - the array
 o Vector
 public Vector(Vector vec)

Methods

 o add
 public synchronized void add(Object objs[])
Adds the array elements

 o sort
 public synchronized Vector sort()
Sorts with a StringComparer

See Also:
StringComparer
 o sort
 public synchronized Vector sort(IComparer c)
Sorts with the specified comparer


All Packages  Class Hierarchy  This Package  Previous  Next  Index