Implementazione parziale di tree

This commit is contained in:
2014-04-07 15:55:11 +02:00
parent 7f3a0bfc24
commit 7fafffa1c5
5 changed files with 198 additions and 0 deletions

20
tree/TreePosition.java Normal file
View File

@@ -0,0 +1,20 @@
package tree;
import position.Position;
import position.PositionList;
/**
* Created with xgiovio.macbookair.
* User: xgiovio
* Date: 07/04/14
* Time: 15:31
*/
public interface TreePosition<E> extends Position<E> {
public void setElement(E o);
public PositionList<Position<E>> getChildren ();
public void setChildren (PositionList<Position<E>> c);
public TreePosition<E> getParent();
public void setParent (TreePosition<E> v);
}