com.sun.tools.xjc.reader.gbind
Interface ElementSet

All Superinterfaces:
Iterable<Element>
All Known Implementing Classes:
Element, GElement, GElementImpl, GWildcardElement, SinkNode, SourceNode

interface ElementSet
extends Iterable<Element>

A set over a list of Element.


Field Summary
static ElementSet EMPTY_SET
           
 
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
 

Field Detail

EMPTY_SET

static final ElementSet EMPTY_SET
Method Detail

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)