diff options
| author | Ben Culkin <scorpress@gmail.com> | 2020-04-12 13:11:11 -0400 |
|---|---|---|
| committer | Ben Culkin <scorpress@gmail.com> | 2020-04-12 13:11:11 -0400 |
| commit | 3819027f642df549622c478331391ad3a25a9c4f (patch) | |
| tree | b1bec757c149bf3f82ce9658e71f30c300d419f6 /base/src/main/java/bjc/utils/funcdata/SentryList.java | |
| parent | 780a3da69b66921fb7bf7b5779fb44830bb45ddc (diff) | |
Finish esodata extraction
Finished extracting the old version of esodata, and fixed all the local
issues
Diffstat (limited to 'base/src/main/java/bjc/utils/funcdata/SentryList.java')
| -rw-r--r-- | base/src/main/java/bjc/utils/funcdata/SentryList.java | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/base/src/main/java/bjc/utils/funcdata/SentryList.java b/base/src/main/java/bjc/utils/funcdata/SentryList.java deleted file mode 100644 index a6a960a..0000000 --- a/base/src/main/java/bjc/utils/funcdata/SentryList.java +++ /dev/null @@ -1,39 +0,0 @@ -package bjc.utils.funcdata; - -import java.util.List; - -/** - * A list that logs when items are inserted into it. - * - * @author bjculkin - * - * @param <T> - * The type of item in the list. - */ -public class SentryList<T> extends FunctionalList<T> { - /** Create a new sentry list. */ - public SentryList() { - super(); - } - - /** - * Create a new sentry list backed by an existing list. - * - * @param backing - * The backing list. - */ - public SentryList(final List<T> backing) { - super(backing); - } - - @Override - public boolean add(final T item) { - final boolean val = super.add(item); - - if(val) { - System.out.println("Added item (" + item + ") to list"); - } - - return val; - } -} |
