proper.util
Class Set

java.lang.Object
  extended by proper.util.Set

public class Set
extends java.lang.Object

This class provides some methods for set operations on Vectors.

Version:
$Revision: 1.2 $
Author:
FracPete

Constructor Summary
Set()
           
 
Method Summary
static java.util.Vector intersect(java.util.Vector v1, java.util.Vector v2)
          intersects the given vectors and returns the result of the intersection
static java.util.Vector join(java.util.Vector v1, java.util.Vector v2)
          joins the content of the two vetors and returns the result
static void main(java.lang.String[] args)
          for testing only
static java.util.Vector minus(java.util.Vector v1, java.util.Vector v2)
          subtracts the second vector from the first one and returns the result
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Set

public Set()
Method Detail

intersect

public static java.util.Vector intersect(java.util.Vector v1,
                                         java.util.Vector v2)
intersects the given vectors and returns the result of the intersection


minus

public static java.util.Vector minus(java.util.Vector v1,
                                     java.util.Vector v2)
subtracts the second vector from the first one and returns the result


join

public static java.util.Vector join(java.util.Vector v1,
                                    java.util.Vector v2)
joins the content of the two vetors and returns the result


main

public static void main(java.lang.String[] args)
for testing only