Module net.anwiba.commons.lang
Package net.anwiba.commons.lang.hashable
Class HashableMap<K extends IHashable,V>
java.lang.Object
net.anwiba.commons.lang.hashable.HashableMap<K,V>
- All Implemented Interfaces:
Serializable,Cloneable,Map<K,V>
public final class HashableMap<K extends IHashable,V>
extends Object
implements Map<K,V>, Serializable, Cloneable
- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionHashableMap(int initialCapacity) HashableMap(int initialCapacity, float loadFactor) -
Method Summary
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
HashableMap
public HashableMap() -
HashableMap
public HashableMap(int initialCapacity) -
HashableMap
public HashableMap(int initialCapacity, float loadFactor)
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
put
-
containsValue
- Specified by:
containsValuein interfaceMap<K extends IHashable,V>
-
containsKey
- Specified by:
containsKeyin interfaceMap<K extends IHashable,V>
-
get
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
hashCode
public int hashCode() -
equals
-
clone
-