summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/examples/java/bjc/utils
diff options
context:
space:
mode:
authorbjculkin <bjculkin@mix.wvu.edu>2017-04-07 08:56:27 -0400
committerbjculkin <bjculkin@mix.wvu.edu>2017-04-07 08:56:27 -0400
commit848dc739becfa41193aff9a07c918aed91e5ef79 (patch)
tree2f325ddb4e7136cc17fdaf6f93485b991eff57a3 /BJC-Utils2/src/examples/java/bjc/utils
parentb6c4a9a2a0479edf285e501b97c54e4f4575186b (diff)
Cleanup
Diffstat (limited to 'BJC-Utils2/src/examples/java/bjc/utils')
-rw-r--r--BJC-Utils2/src/examples/java/bjc/utils/examples/TreeConstructTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/BJC-Utils2/src/examples/java/bjc/utils/examples/TreeConstructTest.java b/BJC-Utils2/src/examples/java/bjc/utils/examples/TreeConstructTest.java
index 8c945e9..a8f8134 100644
--- a/BJC-Utils2/src/examples/java/bjc/utils/examples/TreeConstructTest.java
+++ b/BJC-Utils2/src/examples/java/bjc/utils/examples/TreeConstructTest.java
@@ -12,11 +12,11 @@ import bjc.utils.funcutils.ListUtils;
import bjc.utils.funcutils.StringUtils;
import bjc.utils.parserutils.ShuntingYard;
import bjc.utils.parserutils.TreeConstructor;
+import bjc.utils.parserutils.TreeConstructor.QueueFlattener;
import java.util.Deque;
import java.util.LinkedList;
import java.util.Scanner;
-import java.util.function.Function;
import java.util.function.Predicate;
/**
@@ -92,7 +92,7 @@ public class TreeConstructTest {
return false;
};
- IMap<String, Function<Deque<ITree<String>>, ITree<String>>> operators
+ IMap<String, QueueFlattener<String>> operators
= new FunctionalMap<>();
operators.put("[", (queuedTrees) -> {