public final class VennModels extends Object
Modifier and Type | Method and Description |
---|---|
static <E> VennModel<E> |
createVennModel(List<Set<E>> sets)
Create and return a new venn model with the specified sets.
|
static <E> BinaryVennModel<E> |
createVennModel(Set<? extends E> first,
Set<? extends E> second)
Create and return a new binary venn model with the specified sets.
|
static <E> TernaryVennModel<E> |
createVennModel(Set<? extends E> first,
Set<? extends E> second,
Set<? extends E> third)
Create and return a new ternary venn model with the specified sets.
|
static <E> QuaternaryVennModel<E> |
createVennModel(Set<? extends E> first,
Set<? extends E> second,
Set<? extends E> third,
Set<? extends E> fourth)
Create and return a new quaternary venn model with the specified sets.
|
public static <E> VennModel<E> createVennModel(List<Set<E>> sets)
E
- value typesets
- list of sets, must not be null and must contain at least two setspublic static <E> BinaryVennModel<E> createVennModel(Set<? extends E> first, Set<? extends E> second)
E
- value typefirst
- first set, must not be nullsecond
- second set, must not be nullpublic static <E> TernaryVennModel<E> createVennModel(Set<? extends E> first, Set<? extends E> second, Set<? extends E> third)
E
- value typefirst
- first set, must not be nullsecond
- second set, must not be nullthird
- third set, must not be nullpublic static <E> QuaternaryVennModel<E> createVennModel(Set<? extends E> first, Set<? extends E> second, Set<? extends E> third, Set<? extends E> fourth)
E
- value typefirst
- first set, must not be nullsecond
- second set, must not be nullthird
- third set, must not be nullfourth
- fourth set, must not be nullCopyright (c) 2009-2013 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).