From ca2a5c012267c500d9f0fd883c98904d125a64f0 Mon Sep 17 00:00:00 2001 From: "Benjamin J. Culkin" Date: Thu, 7 Jun 2018 13:03:39 -0300 Subject: Refactor tapes DoubleSided is now its own interface, and the unnecessary tape classes have been removed --- base/src/main/java/bjc/utils/esodata/SingleTape.java | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'base/src/main/java/bjc/utils/esodata/SingleTape.java') diff --git a/base/src/main/java/bjc/utils/esodata/SingleTape.java b/base/src/main/java/bjc/utils/esodata/SingleTape.java index 287f22d..636c04c 100644 --- a/base/src/main/java/bjc/utils/esodata/SingleTape.java +++ b/base/src/main/java/bjc/utils/esodata/SingleTape.java @@ -20,11 +20,6 @@ import java.util.ArrayList; * @author bjculkin */ public class SingleTape implements Tape { - /* - * @NOTE Does this stuff still need to be protected? We're not trying to - * use inheritance to implement tape types any more, so I don't see any - * reason to not have it be private. - */ /* Our backing store. */ protected ArrayList backing; /* Our position in the list. */ @@ -168,11 +163,6 @@ public class SingleTape implements Tape { return true; } - @Override - public boolean isDoubleSided() { - return false; - } - @Override public int hashCode() { final int prime = 31; -- cgit v1.2.3