From 260cc55c485980cd31193300962a88f1de8d62f7 Mon Sep 17 00:00:00 2001 From: bculkin2442 Date: Mon, 28 Mar 2016 08:47:45 -0400 Subject: Moved dice things to seperate project --- .../java/bjc/utils/dice/ast/LiteralDiceNode.java | 48 ---------------------- 1 file changed, 48 deletions(-) delete mode 100644 BJC-Utils2/src/main/java/bjc/utils/dice/ast/LiteralDiceNode.java (limited to 'BJC-Utils2/src/main/java/bjc/utils/dice/ast/LiteralDiceNode.java') diff --git a/BJC-Utils2/src/main/java/bjc/utils/dice/ast/LiteralDiceNode.java b/BJC-Utils2/src/main/java/bjc/utils/dice/ast/LiteralDiceNode.java deleted file mode 100644 index b0c1400..0000000 --- a/BJC-Utils2/src/main/java/bjc/utils/dice/ast/LiteralDiceNode.java +++ /dev/null @@ -1,48 +0,0 @@ -package bjc.utils.dice.ast; - -/** - * A AST node that represents a literal value - * - * @author ben - * - */ -public class LiteralDiceNode implements IDiceASTNode { - /** - * The value contained by this node - */ - private String data; - - /** - * Create a new node with the given value - * - * @param data - * The value to be in this node - */ - public LiteralDiceNode(String data) { - this.data = data; - } - - @Override - public boolean isOperator() { - return false; - } - - /** - * Get the data stored in this AST node - * - * @return the data stored in this AST node - */ - public String getData() { - return data; - } - - /* - * (non-Javadoc) - * - * @see java.lang.Object#toString() - */ - @Override - public String toString() { - return data; - } -} -- cgit v1.2.3