From d8cd813ddc54c455eb3071795038b97b72dc1ee9 Mon Sep 17 00:00:00 2001 From: Stefan Suhren Date: Tue, 9 Jun 2015 09:13:55 +0200 Subject: Add working version of UpnFx --- src/de/fhswf/in/inf/upnfx/util/Operator.java | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/de/fhswf/in/inf/upnfx/util/Operator.java (limited to 'src/de/fhswf/in/inf/upnfx/util/Operator.java') diff --git a/src/de/fhswf/in/inf/upnfx/util/Operator.java b/src/de/fhswf/in/inf/upnfx/util/Operator.java new file mode 100644 index 0000000..4d1a8c6 --- /dev/null +++ b/src/de/fhswf/in/inf/upnfx/util/Operator.java @@ -0,0 +1,23 @@ +/** + * + */ +package de.fhswf.in.inf.upnfx.util; + + +/** + * An interface for on UPN operator. + * + * @author $Author: $ + * @version $Revision: $, $Date: $ UTC + */ +public interface Operator +{ + /** + * Gets a stack of doubles and calculates a new value to be put on the + * stack. + * + * @param upnStack + * The UPN stack of the calculator. + */ + void eval(ObservableDoubleStack upnStack); +} -- cgit v1.2.3-70-g09d2