summaryrefslogtreecommitdiff
path: root/src/org/catacombae/rarx/TreeNode.java
blob: 1da80c9f5976f6110b74190c31a3e7967ce0f650 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package org.catacombae.rarx;

public abstract class TreeNode<A> {
    private A value;
    public TreeNode(A value) {
	this.value = value;
    }
    public TreeNode() {
	this.value = null;
    }
    public A getValue() {
	return value;
	}
    public void setValue(A a) {
	value = a;
    }
}