package ru.szhernovoy.tree;

/**
 * Created by szhernovoy on 22.09.2016.
 */
public class SimpleTree {
}

@@ -97,9 +97,1073 @@
 Tree
- %7B
+%3CT extends Comparable%3CT%3E,V%3E %7B%0A    private Node%3CT,V%3E root;%0A%0A    /**%0A     * Created by admin on 22.09.2016.%0A     */%0A    private class Node%3CT,V%3E %7B%0A%0A         private T key;%0A         private V value;%0A%0A         private Node%3CT,V%3E lefr;%0A         private Node%3CT,V%3E rigth;%0A         private Node%3CT,V%3E parent;%0A%0A%0A        public Node(T key, V value)%7B%0A            this.key = key;%0A            this.value = value;%0A        %7D%0A%0A        public V getValue() %7B%0A            return value;%0A        %7D%0A%0A        public void setValue(V value) %7B%0A            this.value = value;%0A        %7D%0A%0A        public Node%3CT, V%3E getLefr() %7B%0A            return lefr;%0A        %7D%0A%0A        public void setLefr(Node%3CT, V%3E lefr) %7B%0A            this.lefr = lefr;%0A        %7D%0A%0A        public Node%3CT, V%3E getRigth() %7B%0A            return rigth;%0A        %7D%0A%0A        public void setRigth(Node%3CT, V%3E rigth) %7B%0A            this.rigth = rigth;%0A        %7D%0A%0A        public Node%3CT, V%3E getParent() %7B%0A            return parent;%0A        %7D%0A%0A        public void setParent(Node%3CT, V%3E parent) %7B%0A            this.parent = parent;%0A        %7D%0A    %7D
 %0A%7D%0A

update Tree (part . 5 lesson 6 exc. 1)