com.sun.tools.xjc.reader.gbind
Interface ElementSet
- All Superinterfaces:
- java.lang.Iterable<Element>
- All Known Implementing Classes:
- Element, GElement, GElementImpl, GWildcardElement, SinkNode, SourceNode
interface ElementSet
- extends java.lang.Iterable<Element>
A set over a list of Element.
|
Method Summary |
void |
addNext(Element element)
For each element in this set, adds an edge to the given element. |
boolean |
contains(ElementSet rhs)
Doesn't have to be strict (it's OK for this method to return false
when it's actually true) since this is used just for optimization. |
| Methods inherited from interface java.lang.Iterable |
iterator |
EMPTY_SET
static final ElementSet EMPTY_SET
addNext
void addNext(Element element)
- For each element in this set, adds an edge to the given element.
contains
boolean contains(ElementSet rhs)
- Doesn't have to be strict (it's OK for this method to return false
when it's actually true) since this is used just for optimization.
(Erring on the other side is NG)