summaryrefslogtreecommitdiff
path: root/BJC-Utils2
diff options
context:
space:
mode:
authorbjculkin <bjculkin@mix.wvu.edu>2017-03-16 14:37:08 -0400
committerbjculkin <bjculkin@mix.wvu.edu>2017-03-16 14:37:08 -0400
commit8185b03f18d3b32e84ad9aefbd85c9ad4a3f82df (patch)
tree392c56b6fe682f597d38611f7e21cd59a7e4e46f /BJC-Utils2
parentf5ad671ebc6ae3e0c3a3d93976eca3f483185d14 (diff)
Minor change to map behavior
Diffstat (limited to 'BJC-Utils2')
-rw-r--r--BJC-Utils2/src/main/java/bjc/utils/funcdata/ExtendedMap.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/BJC-Utils2/src/main/java/bjc/utils/funcdata/ExtendedMap.java b/BJC-Utils2/src/main/java/bjc/utils/funcdata/ExtendedMap.java
index 7db6cea..d7bb0de 100644
--- a/BJC-Utils2/src/main/java/bjc/utils/funcdata/ExtendedMap.java
+++ b/BJC-Utils2/src/main/java/bjc/utils/funcdata/ExtendedMap.java
@@ -83,6 +83,8 @@ class ExtendedMap<KeyType, ValueType> implements IMap<KeyType, ValueType> {
@Override
public ValueType remove(KeyType key) {
+ if(!store.containsKey(key)) return delegate.remove(key);
+
return store.remove(key);
}