Class TreeHierarchyComparator<T>

    • Method Detail

      • onSamePath

        protected int onSamePath​(T left,
                                 T right)
      • isParent

        public boolean isParent​(@NotNull
                                T child,
                                @NotNull
                                T parent)
      • compareOnSameDepth

        protected abstract int compareOnSameDepth​(T o1,
                                                  T o2)
      • isRoot

        protected int isRoot​(T o1)