com.sun.electric.tool.generator.flag.router
Class ConnectionCache

java.lang.Object
  extended by com.sun.electric.tool.generator.flag.router.ConnectionCache

public class ConnectionCache
extends java.lang.Object

Object to allow efficient queries of the form: "Does PortInst have any ArcInst connected?" Note that this doesn't work right yet because PortInsts can't be compared using ==. Maybe PortInst should overload equals() and hashcode().


Constructor Summary
ConnectionCache(NodeInst ni)
           
 
Method Summary
 boolean hasConnections(PortInst pi)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionCache

public ConnectionCache(NodeInst ni)
Method Detail

hasConnections

public boolean hasConnections(PortInst pi)