mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
Merge pull request #1163 from xiejiamingly/v5-dev
修改了CaseInsensitiveMap的remove等方法并没有忽略大小写的问题
This commit is contained in:
commit
81ac3924d6
@ -46,6 +46,18 @@ public abstract class CustomKeyMap<K, V> extends MapWrapper<K, V> {
|
|||||||
return super.containsKey(customKey(key));
|
return super.containsKey(customKey(key));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public V remove(Object key) { return super.remove(customKey(key)); }
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean remove(Object key, Object value) { return super.remove(customKey(key), value); }
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean replace(K key, V oldValue, V newValue) { return super.replace((K) customKey(key), oldValue, newValue); }
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public V replace(K key, V value) { return super.replace((K) customKey(key), value); }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 自定义键
|
* 自定义键
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user