com.sun.tools.xjc.reader.gbind

Interface ElementSet

interface ElementSet extends Iterable<Element>

A set over a list of Element.
Field Summary
static ElementSetEMPTY_SET
Method Summary
voidaddNext(Element element)
For each element in this set, adds an edge to the given element.
booleancontains(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.

Field Detail

EMPTY_SET

public static final ElementSet EMPTY_SET

Method Detail

addNext

public void addNext(Element element)
For each element in this set, adds an edge to the given element.

contains

public 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)