Lines Matching refs:ElementSet
31 * Factory methods for {@link ElementSet}.
37 * Returns an union of two {@link ElementSet}s.
41 public static ElementSet union(ElementSet lhs, ElementSet rhs) {
44 if(lhs==ElementSet.EMPTY_SET)
46 if(rhs==ElementSet.EMPTY_SET)
52 * {@link ElementSet} that has multiple {@link Element}s in it.
56 private static final class MultiValueSet extends LinkedHashSet<Element> implements ElementSet {
57 public MultiValueSet(ElementSet lhs, ElementSet rhs) {
65 private void addAll(ElementSet lhs) {
74 public boolean contains(ElementSet rhs) {
76 return super.contains(rhs) || rhs==ElementSet.EMPTY_SET;