summaryrefslogtreecommitdiff
path: root/src/main/java/bjc/esodata/PushdownMap.java
diff options
context:
space:
mode:
authorBen Culkin <scorpress@gmail.com>2020-12-03 19:21:38 -0500
committerBen Culkin <scorpress@gmail.com>2020-12-03 19:21:38 -0500
commit0a8f34c27c6ef93c5c94d17728af62c7607e225f (patch)
tree3bbbbb6d62649c7411e7ae3d53a75786255ed84e /src/main/java/bjc/esodata/PushdownMap.java
parent097a33bc2ecaa64a664550ddd62ccd8de47c51d0 (diff)
Rename types to match Java style
This renames several interfaces that had names like IWhatever, since that isn't a style that Java uses
Diffstat (limited to 'src/main/java/bjc/esodata/PushdownMap.java')
-rw-r--r--src/main/java/bjc/esodata/PushdownMap.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/bjc/esodata/PushdownMap.java b/src/main/java/bjc/esodata/PushdownMap.java
index 410eb53..76dd2db 100644
--- a/src/main/java/bjc/esodata/PushdownMap.java
+++ b/src/main/java/bjc/esodata/PushdownMap.java
@@ -20,9 +20,9 @@ import bjc.funcdata.*;
* @param <ValueType>
* The values in the map.
*/
-public class PushdownMap<KeyType, ValueType> implements IMap<KeyType, ValueType> {
+public class PushdownMap<KeyType, ValueType> implements MapEx<KeyType, ValueType> {
/* Our backing storage. */
- private final IMap<KeyType, Stack<ValueType>> backing;
+ private final MapEx<KeyType, Stack<ValueType>> backing;
private boolean isFrozen = false;
private boolean thawEnabled = true;
@@ -60,7 +60,7 @@ public class PushdownMap<KeyType, ValueType> implements IMap<KeyType, ValueType>
}
@Override
- public IList<KeyType> keyList() {
+ public ListEx<KeyType> keyList() {
return backing.keyList();
}
@@ -89,7 +89,7 @@ public class PushdownMap<KeyType, ValueType> implements IMap<KeyType, ValueType>
public ValueType remove(final KeyType key) {
if (isFrozen) throw new ObjectFrozen("Can't remove key " + key + " from frozen map");
- IHolder<ValueType> result = IHolder.of(null);
+ Holder<ValueType> result = Holder.of(null);
backing.get(key).ifPresent((stk) -> {
if (stk.size() > 1) {