Package com.sun.tools.txw2.model
Class NodeSet
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<E>
-
- java.util.HashSet<E>
-
- java.util.LinkedHashSet<WriterNode>
-
- com.sun.tools.txw2.model.NodeSet
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<WriterNode>
,Collection<WriterNode>
,Set<WriterNode>
public class NodeSet extends LinkedHashSet<WriterNode>
Root of the model.- Author:
- Kohsuke Kawaguchi
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeSet(TxwOptions opts, Leaf entry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends WriterNode>
Collection<T>subset(Class<T> t)
void
write(TxwOptions opts)
Generate code-
Methods inherited from class java.util.LinkedHashSet
spliterator
-
Methods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, remove, size
-
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
-
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
-
-
-
Constructor Detail
-
NodeSet
public NodeSet(TxwOptions opts, Leaf entry)
-
-
Method Detail
-
subset
public <T extends WriterNode> Collection<T> subset(Class<T> t)
-
write
public void write(TxwOptions opts)
Generate code
-
-