summaryrefslogtreecommitdiffstats
path: root/Master/Reference Architectures and Patterns/hjp5/examples/SimpleTreeNode.java
diff options
context:
space:
mode:
Diffstat (limited to 'Master/Reference Architectures and Patterns/hjp5/examples/SimpleTreeNode.java')
-rw-r--r--Master/Reference Architectures and Patterns/hjp5/examples/SimpleTreeNode.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/Master/Reference Architectures and Patterns/hjp5/examples/SimpleTreeNode.java b/Master/Reference Architectures and Patterns/hjp5/examples/SimpleTreeNode.java
new file mode 100644
index 0000000..ba96c14
--- /dev/null
+++ b/Master/Reference Architectures and Patterns/hjp5/examples/SimpleTreeNode.java
@@ -0,0 +1,8 @@
+/* SimpleTreeNode.java */
+
+public interface SimpleTreeNode
+{
+ public void addChild(SimpleTreeNode child);
+ public int getChildCnt();
+ public SimpleTreeNode getChild(int pos);
+} \ No newline at end of file