|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.cc.framework.util.Algorithms.VisibleNodeCounterAlg
Algorithm to count the number of visible nodes in a Tree
| Field Summary | |
private int |
count
Counter |
| Constructor Summary | |
Algorithms.VisibleNodeCounterAlg()
Constructor |
|
| Method Summary | |
boolean |
execute(java.lang.String uniqueId,
java.lang.Object obj)
Completes the algorithm for an element in the collection. |
int |
getCount()
Returns the counter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private int count
| Constructor Detail |
public Algorithms.VisibleNodeCounterAlg()
| Method Detail |
public int getCount()
public boolean execute(java.lang.String uniqueId,
java.lang.Object obj)
throws java.lang.Exception
Algorithm
execute in interface AlgorithmuniqueId - Idobj - Object
java.lang.Exception - Is thrown in case of an processing errorAlgorithm.execute(java.lang.String, java.lang.Object)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||