Class TreeUtils

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

public class TreeUtils extends Object
  • 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 ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • tree

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