com.metamatrix.common.tree
Class TreeNodeIteratorWithStack.StackEntry

java.lang.Object
  extended by com.metamatrix.common.tree.TreeNodeIteratorWithStack.StackEntry
Enclosing class:
TreeNodeIteratorWithStack

public static class TreeNodeIteratorWithStack.StackEntry
extends java.lang.Object


Constructor Summary
protected TreeNodeIteratorWithStack.StackEntry(TreeNode target, java.lang.Object payload)
           
 
Method Summary
 java.lang.Object getPayload()
          Return the payload for the node in the stack.
 TreeNode getTreeNode()
          Return the tree node.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TreeNodeIteratorWithStack.StackEntry

protected TreeNodeIteratorWithStack.StackEntry(TreeNode target,
                                               java.lang.Object payload)
Method Detail

getTreeNode

public TreeNode getTreeNode()
Return the tree node.

Returns:
the node; never null

getPayload

public java.lang.Object getPayload()
Return the payload for the node in the stack.

Returns:
the payload; may be null

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009. All Rights Reserved.