|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.stanford.nlp.util.Sets
Utilities for sets
Method Summary | |
static Set |
cross(Set s1,
Set s2)
returns the set cross product of s1 and s2, as Pair s |
static Set |
diff(Set s1,
Set s2)
set difference s1 - s2 |
static void |
main(String[] args)
|
static Set |
powerSet(Set s)
returns the powerset of a set |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Set cross(Set s1, Set s2)
Pair
s
public static Set diff(Set s1, Set s2)
public static Set powerSet(Set s)
public static void main(String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |