|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICounterNode
Shared abstraction layer for both ICounterSet and ICounter.
| Method Summary | |
|---|---|
ICounterNode |
getChild(String name)
Return the directly attached object by name. |
int |
getDepth()
Depth of this node in the hierarchy, where the depth of the root is ZERO (0). |
String |
getName()
The local name (does not include the path from the root). |
ICounterSet |
getParent()
The immediate parent in the hierarchy -or- null iff this
is the root of the hierarchy. |
String |
getPath()
Complete path from the root inclusive of the local name. |
ICounterNode |
getPath(String path)
Return the object described by the path. |
ICounterSet |
getRoot()
The root of the hierarchy. |
boolean |
isCounter()
true iff this is a counter. |
boolean |
isCounterSet()
true iff this is a collection of counters. |
boolean |
isRoot()
true iff this is the root of the hierarchy. |
| Method Detail |
|---|
ICounterSet getParent()
null iff this
is the root of the hierarchy.
String getName()
String getPath()
int getDepth()
ICounterSet getRoot()
boolean isRoot()
true iff this is the root of the hierarchy.
boolean isCounterSet()
true iff this is a collection of counters.
boolean isCounter()
true iff this is a counter.
ICounterNode getChild(String name)
name - The counter name.
ICounterNode getPath(String path)
path - The path.
null if nothing exists for that
path.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||