com.sun.electric.tool.generator.layout
Class NodaNets
java.lang.Object
com.sun.electric.tool.generator.layout.NodaNets
public class NodaNets
- extends java.lang.Object
A "netlist-like" object that allows you to find the Nodables
attached to a Network, and the Networks attached to a
Nodable. This is the sort of functionality one needs when
tracing connectivity through netlists.
This is not very object-oriented. However, if we integrated
this functionality into all Nodables and Networks then
every user would have to pay for its overhead.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodaNets
public NodaNets(Cell c,
Netlist.ShortResistors shortResistors)
getNets
public java.util.Collection<Network> getNets()
getNet
public Network getNet(java.lang.String netNm)
getNodes
public java.util.Collection<Nodable> getNodes()
getNoda
public Nodable getNoda(java.lang.String nodaNm)
getPorts
public java.util.Collection<NodaNets.NodaPortInst> getPorts(Nodable noda)
- Find ports attached to a Nodable
getPorts
public java.util.Collection<NodaNets.NodaPortInst> getPorts(Network net)
- Find ports attached to a Network