com.sun.tools.txw2.model
Class NodeSet

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<E>
          extended by java.util.HashSet<E>
              extended by java.util.LinkedHashSet<WriterNode>
                  extended by 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
NodeSet(TxwOptions opts, Leaf entry)
           
 
Method Summary
<T extends WriterNode>
Collection<T>
subset(Class<T> t)
           
 void write(TxwOptions opts)
          Generate code
 
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.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, 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



Copyright © 2013 Oracle. All Rights Reserved.