View Javadoc

1   package net.obsearch.example.ted;
2   
3   import java.util.List;
4   
5   public interface SliceForest {
6   
7   	public abstract SliceForest deleteRightTreeNode();
8   	
9   	public abstract SliceForest deleteLeftTreeNode();
10  	
11  	
12  	public abstract boolean isLeftHeavy();
13  	
14  	public abstract SliceForestStd deleteRootOnLeftTreeAndGetLeftTree();
15  	
16  	public abstract SliceForestStd deleteLeftTree();
17  	
18  	public abstract boolean isTree();
19  	
20  	public abstract SliceForest deleteRightTree();
21  
22  	public abstract SliceASTForStandardTed getRightTree();
23  
24  	public abstract SliceASTForStandardTed getLeftTree();
25  	
26  	public abstract void calculateHeavyPath();
27  	
28  	public abstract List<SliceForest> topLight();
29  	
30  	public abstract int getSize();
31  	
32  	public abstract boolean isNull();
33  	
34  	public abstract void updateIdInfo();
35  	public abstract void updateContains();
36  	public abstract void updateDescendant();
37  	
38  	public abstract String prettyPrint();
39  
40  	/**
41  	 * return the rightmost tree of the Forest without the root node
42  	 * 
43  	 */
44  	public abstract SliceForest deleteRootOnRightTreeAndGetRightTree();
45  	
46  	public abstract String hashString();
47  	
48  	public String toFuriaChanTree();
49  	
50  	public boolean equalsTree(SliceForest o);
51  
52  }