public class NameSet extends Object
NameSetBuilder
Modifier and Type | Field and Description |
---|---|
static NameSet |
EMPTY
An empty NameSet, it doesn't contain any name
|
static NameSet |
EVERYTHING
The NameSet that contains any name
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(String name) |
NameSet |
intersect(NameSet with)
Returns the intersection of this NameSet with the 'with' NameSet
|
NameSet |
invert()
Returns an inversion of this NameSet
|
NameSet |
substract(NameSet what)
Returns the result of substracting 'what' NameSet from this NameSet
|
NameSet |
substractFrom(NameSet from)
Returns the result of substracting this NameSet from 'from' NameSet
|
NameSet |
union(NameSet with)
Returns the union of this NameSet with the 'with' NameSet.
|
public static final NameSet EMPTY
public static final NameSet EVERYTHING
public NameSet intersect(NameSet with)
public NameSet substractFrom(NameSet from)
public NameSet substract(NameSet what)
public NameSet invert()
public boolean contains(String name)