Mercurial > hg > Members > shoshi > TreeCMSv2
view src/tree/Node.java @ 0:7ecb9273581d
hg init
author | shoshi |
---|---|
date | Wed, 16 Feb 2011 14:27:35 +0900 |
parents | |
children |
line wrap: on
line source
package tree; import java.util.Set; public interface Node { //read operation public String get(); public Set<Node> getChildren(); //write operation public Node set(String _str); public Node addChild(Node _child); public Node addChildren(Set<Node> _children); }