Top Description Fields Methods
com.sun.tools.xjc.reader.gbind

public Interface ElementSet

extends Iterable<Element>
Known Direct Implementers
com.sun.tools.xjc.reader.gbind.ElementSets.MultiValueSet, com.sun.tools.xjc.reader.gbind.Element
Imports
java.util.Collections, .Iterator

A set over a list of Element.
Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
public static final ElementSet

Method Summary

Modifier and TypeMethod and Description
public void
addNext(Element element)

For each element in this set, adds an edge to the given element.

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.

Inherited from java.lang.Iterable:
forEachiteratorspliterator

Field Detail

EMPTY_SETback to summary
public static final ElementSet EMPTY_SET

Method Detail

addNextback to summary
public void addNext(Element element)

For each element in this set, adds an edge to the given element.

containsback to summary
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)