From 7951172d68c6803a552846991de9020faa38d478 Mon Sep 17 00:00:00 2001 From: ZhouXY108 Date: Sat, 2 Nov 2024 11:47:41 +0800 Subject: [PATCH] =?UTF-8?q?AbstractMapWrapper=20=E8=A6=86=E5=86=99=20hashC?= =?UTF-8?q?ode=20=E5=92=8C=20equals?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../collection/AbstractMapWrapper.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/main/java/xyz/zhouxy/plusone/commons/collection/AbstractMapWrapper.java b/src/main/java/xyz/zhouxy/plusone/commons/collection/AbstractMapWrapper.java index f8a9d21..bd9c967 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/collection/AbstractMapWrapper.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/collection/AbstractMapWrapper.java @@ -20,6 +20,7 @@ import java.util.Collection; import java.util.Collections; import java.util.Map; import java.util.Map.Entry; +import java.util.Objects; import java.util.Optional; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; @@ -166,6 +167,24 @@ public abstract class AbstractMapWrapper> { protected final Map map; protected Consumer keyChecker;