<commit_before>package ru.szhernovoy.tree;

/**
 * Created by szhernovoy on 22.09.2016.
 */
public class SimpleTree {
}<commit_msg>update Tree (part . 5 lesson 6 exc. 1)<commit_after>package ru.szhernovoy.tree;

/**
 * Created by szhernovoy on 22.09.2016.
 */
public class SimpleTree<T extends Comparable<T>,V> {
    private Node<T,V> root;

    /**
     * Created by admin on 22.09.2016.
     */
    private class Node<T,V> {

         private T key;
         private V value;

         private Node<T,V> lefr;
         private Node<T,V> rigth;
         private Node<T,V> parent;


        public Node(T key, V value){
            this.key = key;
            this.value = value;
        }

        public V getValue() {
            return value;
        }

        public void setValue(V value) {
            this.value = value;
        }

        public Node<T, V> getLefr() {
            return lefr;
        }

        public void setLefr(Node<T, V> lefr) {
            this.lefr = lefr;
        }

        public Node<T, V> getRigth() {
            return rigth;
        }

        public void setRigth(Node<T, V> rigth) {
            this.rigth = rigth;
        }

        public Node<T, V> getParent() {
            return parent;
        }

        public void setParent(Node<T, V> parent) {
            this.parent = parent;
        }
    }
}
{'fraction_non_alphanumeric': 0.11250925240562547, 'fraction_numerical': 0.01998519615099926, 'mean_word_length': 1.5365853658536586, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3107854', 'n_tokens_mistral': 467, 'n_tokens_neox': 430, 'n_words': 114}