summaryrefslogtreecommitdiff
path: root/src/main/java/bjc/esodata/SingleTape.java
diff options
context:
space:
mode:
authorBen Culkin <scorpress@gmail.com>2020-10-06 19:15:07 -0400
committerBen Culkin <scorpress@gmail.com>2020-10-06 19:15:07 -0400
commitf3ecbf3ed7d496ad7652a081fcafa494846b2878 (patch)
treedcf82e9769c3ea5bbb6bfee57d186c9571d0d43b /src/main/java/bjc/esodata/SingleTape.java
parent51825f93a1e7ba9ba739070a5cc5b69ad9e7ddd8 (diff)
Info cleanup
Diffstat (limited to 'src/main/java/bjc/esodata/SingleTape.java')
-rw-r--r--src/main/java/bjc/esodata/SingleTape.java18
1 files changed, 13 insertions, 5 deletions
diff --git a/src/main/java/bjc/esodata/SingleTape.java b/src/main/java/bjc/esodata/SingleTape.java
index f6f87be..ec56e2b 100644
--- a/src/main/java/bjc/esodata/SingleTape.java
+++ b/src/main/java/bjc/esodata/SingleTape.java
@@ -20,15 +20,21 @@ import java.util.ArrayList;
* @author bjculkin
*/
public class SingleTape<T> implements Tape<T> {
- /* Our backing store. */
+ /**
+ * Our backing store.
+ */
protected ArrayList<T> backing;
- /* Our position in the list. */
+ /**
+ * Our position in the list.
+ */
protected int pos;
- /* Whether to auto-extend the list on the left with nulls. */
+ /**
+ * Whether to auto-extend the list on the left with nulls.
+ */
protected boolean autoExtend;
/**
- * Create a new tape with the specified contents that doesn't autoextend.
+ * Create a new tape with the specified contents that doesn't auto-extend.
*
* @param vals
* The values to put on the tape.
@@ -44,7 +50,9 @@ public class SingleTape<T> implements Tape<T> {
}
}
- /** Create a new empty tape that doesn't autoextend. */
+ /**
+ * Create a new empty tape that doesn't auto-extend.
+ */
public SingleTape() {
this(false);
}