📜  containskey java 复杂度 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:15.635000             🧑  作者: Mango

代码示例1
Since containsKey() is just a get() that throws away the retrieved value, it's O(1) (assuming the hash function works properly, again).