|
Nodenet Problem Set Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for NodeBehaviors that keep track of the number of
objects they have seen. By implementing this interface,
SimulationPanel
will display the value returned by
getCount()
whenever the node is displayed. This class
replaces CountingNodeBehavior
Method Summary | |
int |
getCount()
Returns the number of packets generated, moved or recieved as appropriate. |
void |
resetCount()
Resets the count. |
Method Detail |
public int getCount()
public void resetCount()
|
Nodenet Problem Set Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |