Class HashMapToInt<K>
java.lang.Object
org.apache.sysds.runtime.frame.data.columns.HashMapToInt<K>
- All Implemented Interfaces:
Serializable,Cloneable,Map<K,Integer>
- See Also:
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()voidforEach(BiConsumer<? super K, ? super Integer> action) intintbooleanisEmpty()keySet()voidintputIfAbsent(K key, Integer value) intputIfAbsentI(K key, int value) intputIfAbsentReturnVal(K key, int value) intsize()toString()values()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, merge, remove, replace, replace, replaceAll
-
Constructor Details
-
HashMapToInt
public HashMapToInt(int capacity)
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<K,Integer>
-
containsValue
- Specified by:
containsValuein interfaceMap<K,Integer>
-
get
-
getI
-
hash
-
put
-
putIfAbsent
- Specified by:
putIfAbsentin interfaceMap<K,Integer>
-
putIfAbsentI
-
putIfAbsentReturnVal
-
putI
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
forEach
-
inverse
-
toString
-