Package org.teavm.classlib.java.util
Class THashtable<K,V>
java.lang.Object
org.teavm.classlib.java.lang.TObject
org.teavm.classlib.java.util.TDictionary<K,V>
org.teavm.classlib.java.util.THashtable<K,V>
- All Implemented Interfaces:
TSerializable
,TCloneable
,TMap<K,V>
- Direct Known Subclasses:
TProperties
public class THashtable<K,V>
extends TDictionary<K,V>
implements TMap<K,V>, TCloneable, TSerializable
-
Constructor Summary
ConstructorsConstructorDescriptionTHashtable(int capacity)
THashtable(int capacity, float loadFactor)
THashtable(TMap<? extends K,? extends V> map)
-
Method Summary
Methods inherited from class org.teavm.classlib.java.lang.TObject
equals0, finalize, getClass0, notify0, notifyAll0, wait0, wait0, waitImpl
Methods inherited from interface org.teavm.classlib.java.util.TMap
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace
-
Constructor Details
-
THashtable
public THashtable() -
THashtable
public THashtable(int capacity) -
THashtable
public THashtable(int capacity, float loadFactor) -
THashtable
-
-
Method Details
-
clear
public void clear() -
clone
-
contains
-
containsKey
- Specified by:
containsKey
in interfaceTMap<K,V>
-
containsValue
- Specified by:
containsValue
in interfaceTMap<K,V>
-
elements
- Specified by:
elements
in classTDictionary<K,V>
-
entrySet
-
equals
-
get
-
hashCode
public int hashCode() -
isEmpty
public boolean isEmpty() -
keys
- Specified by:
keys
in classTDictionary<K,V>
-
keySet
-
put
-
putAll
-
rehash
protected void rehash() -
remove
-
size
public int size() -
toString
-
values
-