Joda System API

org.joda.util
Interface TreeNode.Internal

All Superinterfaces:
TreeNode
All Known Implementing Classes:
ArrayTreeNode
Enclosing interface:
TreeNode

public static interface TreeNode.Internal
extends TreeNode

TreeNode implementors should implement TreeNode.Internal instead of just TreeNode. This interface hides the public but unsafe setParent method


Nested Class Summary
 
Nested classes inherited from class org.joda.util.TreeNode
TreeNode.Internal
 
Method Summary
 void setParent(TreeNode node)
          Set the parent of this node
 
Methods inherited from interface org.joda.util.TreeNode
getChild, getChildren, getParent, getValue, isLeaf, isRoot, removeFromParent, setValue, treeIterator
 

Method Detail

setParent

public void setParent(TreeNode node)
Set the parent of this node

Parameters:
node - the new parent node

Joda System API

Copyright © 2001-2003 Stephen Colebourne. All Rights Reserved.