summaryrefslogtreecommitdiffstats
path: root/Master/Reference Architectures and Patterns/hjp5/examples/SimpleTreeNode.java
blob: ba96c144bd73c0af8ff92c801aa4e00777b4e9fa (plain)
1
2
3
4
5
6
7
8
/* SimpleTreeNode.java */

public interface SimpleTreeNode
{
  public void addChild(SimpleTreeNode child);
  public int getChildCnt();
  public SimpleTreeNode getChild(int pos);
}