Class TreeInt

    • Field Detail

      • _key

        public int _key
    • Constructor Detail

      • TreeInt

        public TreeInt​(int a_key)
    • Method Detail

      • removeLike

        public static TreeInt removeLike​(TreeInt tree,
                                         int value)
      • compare

        public int compare​(Tree a_to)
        Description copied from class: Tree
        returns 0, if keys are equal uses this - other returns positive if this is greater than a_to returns negative if this is smaller than a_to
        Specified by:
        compare in class Tree<java.lang.Integer>
      • duplicates

        public boolean duplicates()
        Overrides:
        duplicates in class Tree<java.lang.Integer>
      • find

        public static final TreeInt find​(Tree a_in,
                                         int a_key)
      • find

        public final TreeInt find​(int a_key)
      • ownLength

        public int ownLength()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • marshalledLength

        public static int marshalledLength​(TreeInt a_tree)
      • marshalledLength

        public final int marshalledLength​(int size)
      • key

        public java.lang.Integer key()
        Specified by:
        key in class Tree<java.lang.Integer>
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object