- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for TreeTraverser (0.08 sec)
-
guava/src/com/google/common/collect/TreeTraverser.java
* implement it: * * <pre>{@code * // won't work * TreeTraverser<NodeType> traverser = node -> node.getChildNodes(); * }</pre> * * Instead, you can pass a lambda expression to the {@code using} factory method: * * <pre>{@code * TreeTraverser<NodeType> traverser = TreeTraverser.using(node -> node.getChildNodes()); * }</pre> * * @author Louis Wasserman * @since 15.0
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java
<T> Iterable<T> view(T root, TreeTraverser<T> viewer) { return viewer.preOrderTraversal(root); } }, POST_ORDER { @Override <T> Iterable<T> view(T root, TreeTraverser<T> viewer) { return viewer.postOrderTraversal(root); } }, BREADTH_FIRST { @Override <T> Iterable<T> view(T root, TreeTraverser<T> viewer) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 26 19:18:53 UTC 2019 - 4.9K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java
<T> Iterable<T> view(T root, TreeTraverser<T> viewer) { return viewer.preOrderTraversal(root); } }, POST_ORDER { @Override <T> Iterable<T> view(T root, TreeTraverser<T> viewer) { return viewer.postOrderTraversal(root); } }, BREADTH_FIRST { @Override <T> Iterable<T> view(T root, TreeTraverser<T> viewer) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 26 19:18:53 UTC 2019 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeTraverserTest.java
this.children = asList(children); } } private static final TreeTraverser<Tree> ADAPTER = new TreeTraverser<Tree>() { @Override public Iterable<Tree> children(Tree node) { return node.children; } }; private static final TreeTraverser<Tree> ADAPTER_USING_USING = TreeTraverser.using( new Function<Tree, Iterable<Tree>>() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 3.6K bytes - Viewed (0)