@FunctionalInterface
public static interface LowestCommonAncestorFinder.Factory<N,E>
LowestCommonAncestorFinder::new
.
This interface allows injection in tests.
Modifier and Type | Method and Description |
---|---|
LowestCommonAncestorFinder<N,E> |
create(DiGraph<N,E> graph,
LowestCommonAncestorFinder.HeightFunction<N> heightFn) |
LowestCommonAncestorFinder<N,E> create(DiGraph<N,E> graph, LowestCommonAncestorFinder.HeightFunction<N> heightFn)
Copyright © 2009-2020 Google. All Rights Reserved.