|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jmeter.engine.TreeCloner
public class TreeCloner
Constructor Summary | |
---|---|
TreeCloner()
|
|
TreeCloner(boolean forThread)
|
Method Summary | |
---|---|
void |
addNode(java.lang.Object node,
HashTree subTree)
The tree traverses itself depth-first, calling addNode for each object it encounters as it goes. |
ListedHashTree |
getClonedTree()
|
void |
processPath()
Process path is called when a leaf is reached. |
void |
subtractNode()
Indicates traversal has moved up a step, and the visitor should remove the top node from its stack structure. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TreeCloner()
public TreeCloner(boolean forThread)
Method Detail |
---|
public void addNode(java.lang.Object node, HashTree subTree)
HashTreeTraverser
addNode
in interface HashTreeTraverser
node
- the node currently encounteredsubTree
- the HashTree under the node encounteredpublic void subtractNode()
HashTreeTraverser
subtractNode
in interface HashTreeTraverser
public ListedHashTree getClonedTree()
public void processPath()
HashTreeTraverser
HashTreeTraverser.subtractNode()
call. This is a callback method, and should
not be called except by a HashTree during traversal.
processPath
in interface HashTreeTraverser
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |