Is there any standard Java library class to represent a tree in Java?
Specifically I need to represent the following:
No answer mentions over-simplified but working code, so here it is:
public class TreeNodeArray { public T value; public final java.util.List> kids = new java.util.ArrayList>(); }