|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectproper.util.Set
public class Set
This class provides some methods for set operations on Vectors.
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 |
---|
public Set()
Method Detail |
---|
public static java.util.Vector intersect(java.util.Vector v1, java.util.Vector v2)
public static java.util.Vector minus(java.util.Vector v1, java.util.Vector v2)
public static java.util.Vector join(java.util.Vector v1, java.util.Vector v2)
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |