Interface Trees.ChildrenExtractorBuilder<T,R>

All Known Implementing Classes:
Trees.Builder
Enclosing class:
Trees

public static interface Trees.ChildrenExtractorBuilder<T,R>
  • Method Details

    • childrenExtractor

      Trees.FinalBuilder<T,R> childrenExtractor(Function<T,List<T>> getChildrenProvider)
      Set up the retrieval of child elements in the tree.
      Parameters:
      getChildrenProvider - function to get children in a tree from a parent element
      Returns:
      builder object