Package ru.bitel.common

# Class TreeUtils

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

public class TreeUtils extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TreeUtils()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static <N extends Node<N> & Idable>
  N`
  `find(N root, int id)`
  `static <N extends Node<N> & Idable>
  N`
  `tree(List<N> list, int id)`
  `static <N extends Node<N> & Idable>
  N`
  `tree(List<N> list, N root)`

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

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

- ## Constructor Details

  - ### TreeUtils

    public TreeUtils()

- ## Method Details

  - ### find

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

  - ### tree

    public static <N extends Node<N> & Idable> N tree(List<N> list, N root) throws Exception
    Throws:
      `Exception`

  - ### tree

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