Implementazione parziale di tree
This commit is contained in:
20
tree/TreePosition.java
Normal file
20
tree/TreePosition.java
Normal 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);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user