I require a tree / directed acyclic graph implementation something like this:
public class TreeNode { private K key; // \'key\' for this node
If you're looking for additional graph capabilities, JDigraph's Digraph class should fit the bill.