Add puzzlers for the counterintuitive behavior of ConcurrentHashMap and Hashtable (respectively its subclass Properties) contains(Object) which checks if a value is contained.
Puzzler 1 is about the conflict with the Map.contains(K) extension function
Puzzler 2 is about its interaction with the in operator
Add puzzlers for the counterintuitive behavior of
ConcurrentHashMap
andHashtable
(respectively its subclassProperties
)contains(Object)
which checks if a value is contained.Map.contains(K)
extension functionin
operator