|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.electric.tool.ncc.strategy.Strategy
com.sun.electric.tool.ncc.strategy.StratCount
public class StratCount
StratCount counts and prints a tree's content. StratCount implements a doFor method for each level in the EquivRecord tree, keeping counters of what it finds. StratCount is for debugging and program development.
| Nested Class Summary | |
|---|---|
static class |
StratCount.Counts
|
| Field Summary |
|---|
| Fields inherited from class com.sun.electric.tool.ncc.strategy.Strategy |
|---|
CODE_ERROR, CODE_NO_CHANGE, depth, globals |
| Method Summary | |
|---|---|
LeafList |
doFor(EquivRecord j)
Method doFor(EquivRecord) processes a single EquivRecord. |
java.lang.Integer |
doFor(NetObject n)
doFor(NetObject) counts Wires and Parts. |
static StratCount.Counts |
doYourJob(NccGlobals globals)
|
| Methods inherited from class com.sun.electric.tool.ncc.strategy.Strategy |
|---|
doFor, doFor, doFor, elapsedTime, error, getDepth, offspringStats, startTime |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public LeafList doFor(EquivRecord j)
Strategy
doFor in class Strategyj - the EquivRecord to process
public java.lang.Integer doFor(NetObject n)
doFor in class Strategyn - the NetObject to catagorize
public static StratCount.Counts doYourJob(NccGlobals globals)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||