org.ccnx.ccn.impl.repo.ContentTree.TreeNode Class Reference

TreeNode is the data structure representing one node of a tree which may have children and/or content. More...

List of all members.

Public Member Functions

boolean compEquals (byte[] other)
TreeNode getChild (byte[] component)
String toString ()
int compareTo (TreeNode o1)

Package Attributes

byte[] component
TreeNode oneChild
SortedMap< TreeNode, TreeNodechildren
ContentRef oneContent
List< ContentRefcontent
long timestamp
boolean interestFlag = false

Detailed Description

TreeNode is the data structure representing one node of a tree which may have children and/or content.

Every child has a distinct name (it's component) but there may be multiple content objects ending with the same component (i.e. having same content digest at end but presumably different publisher etc. that is not visible in this tree)


The documentation for this class was generated from the following file:
Generated on Fri May 13 16:27:40 2011 for Content-Centric Networking in Java by  doxygen 1.6.3