ru.bitel.common

## Class TreeUtils

- java.lang.Object
- - ru.bitel.common.TreeUtils

-     public class TreeUtils
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TreeUtils()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <N extends Node<N> & Idable> N` | `find(N root, int id)`
    `static <N extends Node<N> & Idable> N` | `tree(java.util.List<N> list, int id)`
    `static <N extends Node<N> & Idable> N` | `tree(java.util.List<N> list, N root)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TreeUtils

          public TreeUtils()

  - ### Method Detail

    - #### find

          public static <N extends Node<N> & Idable> N find(N root,
                                                            int id)

    - #### tree

          public static <N extends Node<N> & Idable> N tree(java.util.List<N> list,
                                                            N root)
                                                     throws ru.bitel.bgbilling.common.BGException

      Throws:
        `ru.bitel.bgbilling.common.BGException`

    - #### tree

          public static <N extends Node<N> & Idable> N tree(java.util.List<N> list,
                                                            int id)