From 8f84c00978dc05007873a9fe1de6a18511dc3cf8 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Tue, 28 Jun 2016 21:09:43 +0300 Subject: Restructure project for use with maven --- main/utils/Counter.java | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 main/utils/Counter.java (limited to 'main/utils/Counter.java') diff --git a/main/utils/Counter.java b/main/utils/Counter.java deleted file mode 100644 index 9783adf..0000000 --- a/main/utils/Counter.java +++ /dev/null @@ -1,42 +0,0 @@ -package com.jantuomi.interpreter.main.utils; - -/** - * Created by jan on 13.6.2016. - */ -public class Counter { - private int value = 0; - - public int getRecursionDepth() { - return recursionDepth; - } - - private int recursionDepth = 0; - - public int advance() { - return ++value; - } - - public int deeper() { - return ++recursionDepth; - } - - public int shallower() { - return --recursionDepth; - } - - public int getValue() { - return value; - } - - public void assign(Counter other) { - value = other.value; - recursionDepth = other.recursionDepth; - } - - public Counter clone() { - Counter c = new Counter(); - c.value = value; - c.recursionDepth = recursionDepth; - return c; - } -} -- cgit v1.3