summaryrefslogtreecommitdiff
path: root/src/main/java/bjc/funcdata/ExtendedMap.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/funcdata/ExtendedMap.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/funcdata/ExtendedMap.java')
-rw-r--r--src/main/java/bjc/funcdata/ExtendedMap.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/main/java/bjc/funcdata/ExtendedMap.java b/src/main/java/bjc/funcdata/ExtendedMap.java
index 9638cdc..379ff65 100644
--- a/src/main/java/bjc/funcdata/ExtendedMap.java
+++ b/src/main/java/bjc/funcdata/ExtendedMap.java
@@ -15,11 +15,11 @@ import java.util.function.*;
* @param <ValueType>
* The type of the values of the map.
*/
-class ExtendedMap<KeyType, ValueType> implements IMap<KeyType, ValueType> {
+class ExtendedMap<KeyType, ValueType> implements MapEx<KeyType, ValueType> {
/* The map we delegate lookups to. */
- private final IMap<KeyType, ValueType> delegate;
+ private final MapEx<KeyType, ValueType> delegate;
/* The map we store things in. */
- private final IMap<KeyType, ValueType> store;
+ private final MapEx<KeyType, ValueType> store;
private boolean isFrozen = false;
private boolean thawEnabled = true;
@@ -33,8 +33,8 @@ class ExtendedMap<KeyType, ValueType> implements IMap<KeyType, ValueType> {
* @param store
* The map to store things in.
*/
- public ExtendedMap(final IMap<KeyType, ValueType> delegate,
- final IMap<KeyType, ValueType> store) {
+ public ExtendedMap(final MapEx<KeyType, ValueType> delegate,
+ final MapEx<KeyType, ValueType> store) {
this.delegate = delegate;
this.store = store;
}
@@ -71,8 +71,8 @@ class ExtendedMap<KeyType, ValueType> implements IMap<KeyType, ValueType> {
}
@Override
- public IList<KeyType> keyList() {
- IList<KeyType> ilst = new FunctionalList<>();
+ public ListEx<KeyType> keyList() {
+ ListEx<KeyType> ilst = new FunctionalList<>();
ilst.addAll(store.keyList());
ilst.addAll(delegate.keyList());