Uses of Interface
components.tree.Tree
Packages that use Tree
-
Uses of Tree in components.tree
Classes in components.tree that implement TreeModifier and TypeClassDescriptionclassTree1<T>Treerepresented as a recursive data structure, done "bare-handed", with implementations of primary methods.classLayered implementations of secondary methods forTree.Methods in components.tree that return TreeModifier and TypeMethodDescriptionTree1.newInstance()Tree.removeSubtree(int pos) Removes and returns the subtree at positionposinthis.TreeSecondary.removeSubtree(int pos) Methods in components.tree that return types with arguments of type TreeModifier and TypeMethodDescriptionTree1.newSequenceOfTree()TreeKernel.newSequenceOfTree()Creates and returns an emptySequence<Tree<T>>of the dynamic type needed inassembleanddisassemble.Methods in components.tree with parameters of type TreeModifier and TypeMethodDescriptionvoidTree.addSubtree(int pos, Tree<T> st) Adds the treestat positionposinthis; the declaration notwithstanding, the dynamic type ofstmust be the same as the dynamic type ofthis.voidTreeSecondary.addSubtree(int pos, Tree<T> st) final voidTree1.transferFrom(Tree<T> source) Method parameters in components.tree with type arguments of type TreeModifier and TypeMethodDescriptionfinal voidvoidAssembles inthisa tree with root labelrootand subtreeschildren; the declaration notwithstanding, the dynamic type of each entry ofchildrenmust be the same as the dynamic type ofthisand the dynamic type ofchildrenmust be the same as that returned bynewSequenceOfTree.final TTree1.disassemble(Sequence<Tree<T>> children) TreeKernel.disassemble(Sequence<Tree<T>> children) Disassemblesthisinto its root label, which is returned as the value of the function, and subtrees inchildren; the declaration notwithstanding, the dynamic type ofchildrenmust be the same as that returned bynewSequenceOfTree.