From a2c7425458f645802a352abc4783e0afc73dba13 Mon Sep 17 00:00:00 2001 From: Ben Culkin Date: Thu, 3 Dec 2020 19:22:35 -0500 Subject: Adapt to esodata changes --- base/src/main/java/bjc/utils/parserutils/ShuntingYard.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'base/src/main/java/bjc/utils/parserutils/ShuntingYard.java') diff --git a/base/src/main/java/bjc/utils/parserutils/ShuntingYard.java b/base/src/main/java/bjc/utils/parserutils/ShuntingYard.java index ac82388..f73c315 100644 --- a/base/src/main/java/bjc/utils/parserutils/ShuntingYard.java +++ b/base/src/main/java/bjc/utils/parserutils/ShuntingYard.java @@ -6,8 +6,8 @@ import java.util.function.Function; import bjc.funcdata.FunctionalList; import bjc.funcdata.FunctionalMap; -import bjc.funcdata.IList; -import bjc.funcdata.IMap; +import bjc.funcdata.ListEx; +import bjc.funcdata.MapEx; import bjc.utils.funcutils.StringUtils; /** @@ -59,7 +59,7 @@ public class ShuntingYard { /* * Holds all the shuntable operations. */ - private IMap operators; + private MapEx operators; /** * Create a new shunting yard with a default set of operators. @@ -158,7 +158,7 @@ public class ShuntingYard { * * @return A list of tokens in postfix notation. */ - public IList postfix(final IList input, + public ListEx postfix(final ListEx input, final Function transformer) { /* * Check our input @@ -169,7 +169,7 @@ public class ShuntingYard { /* * Here's what we're handing back */ - final IList output = new FunctionalList<>(); + final ListEx output = new FunctionalList<>(); /* * The stack to put operators on -- cgit v1.2.3