|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectunbbayes.util.SetToolkit
public class SetToolkit
Classe que fornece mÔøΩtodos estÔøΩticos para operaÔøΩÔøΩes (uniÔøΩo e intersecao) entre conjuntos (List). A operaÔøΩÔøΩo de subtraÔøΩÔøΩo e de pertinÔøΩncia sÔøΩo feitas utilizando mÔøΩtodos do prÔøΩprio List.
Constructor Summary | |
---|---|
SetToolkit()
|
Method Summary | |
---|---|
static ArrayList<Node> |
clone(ArrayList<Node> conjunto)
|
static List |
clone(Collection conjunto)
|
static ArrayList<Node> |
intersection(ArrayList<Node> conjuntoA,
ArrayList<Node> conjuntoB)
Realiza a interseÔøΩÔøΩo entre dois conjuntos. |
static List |
intersection(List<?> conjuntoA,
List<?> conjuntoB)
Realiza a interseÔøΩÔøΩo entre dois conjuntos. |
static ArrayList<Node> |
union(ArrayList<Node> conjuntoA,
ArrayList<Node> conjuntoB)
Make the union between two sets |
static List |
union(List<?> conjuntoA,
List<?> conjuntoB)
Realiza a uniÔøΩo entre dois conjuntos. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SetToolkit()
Method Detail |
---|
public static List union(List<?> conjuntoA, List<?> conjuntoB)
conjuntoA
- conjunto AconjuntoB
- conjunto B
public static ArrayList<Node> union(ArrayList<Node> conjuntoA, ArrayList<Node> conjuntoB)
conjuntoA
- conjunto AconjuntoB
- conjunto B
public static List intersection(List<?> conjuntoA, List<?> conjuntoB)
conjuntoA
- conjunto AconjuntoB
- conjunto B
public static ArrayList<Node> intersection(ArrayList<Node> conjuntoA, ArrayList<Node> conjuntoB)
conjuntoA
- conjunto AconjuntoB
- conjunto B
public static List clone(Collection conjunto)
public static ArrayList<Node> clone(ArrayList<Node> conjunto)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |