|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.stanford.nlp.util.Sets
public class Sets
Utilities for sets
| Method Summary | |
|---|---|
static Set |
cross(Set s1,
Set s2)
returns the set cross product of s1 and s2, as Pairs |
static Set |
diff(Set s1,
Set s2)
set difference s1 - s2 |
static Set |
intersection(Set s1,
Set s2)
set intersection |
static void |
main(String[] args)
|
static Set |
powerSet(Set s)
returns the powerset of a set |
static Set |
union(Set s1,
Set s2)
set union |
| 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)
Pairs
public static Set diff(Set s1,
Set s2)
public static Set union(Set s1,
Set s2)
public static Set intersection(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 | ||||||||