public class THashtable<K,V> extends TDictionary<K,V> implements TMap<K,V>, TCloneable, TSerializable
Constructor and Description |
---|
THashtable() |
THashtable(int capacity) |
THashtable(int capacity,
float loadFactor) |
THashtable(TMap<? extends K,? extends V> map) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
Object |
clone() |
boolean |
contains(Object value) |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
TEnumeration<V> |
elements() |
TSet<TMap.Entry<K,V>> |
entrySet() |
boolean |
equals(Object object) |
V |
get(Object key) |
int |
hashCode() |
boolean |
isEmpty() |
TEnumeration<K> |
keys() |
TSet<K> |
keySet() |
V |
put(K key,
V value) |
void |
putAll(TMap<? extends K,? extends V> map) |
protected void |
rehash() |
V |
remove(Object key) |
int |
size() |
String |
toString() |
TCollection<V> |
values() |
equals0, finalize, getClass0, notify0, notifyAll0, wait0, wait0, waitImpl
compute, computeIfAbsent, computeIfPresent, getOrDefault, merge, putIfAbsent, replace, replace
public THashtable()
public THashtable(int capacity)
public THashtable(int capacity, float loadFactor)
public boolean contains(Object value)
public boolean containsKey(Object key)
containsKey
in interface TMap<K,V>
public boolean containsValue(Object value)
containsValue
in interface TMap<K,V>
public TEnumeration<V> elements()
elements
in class TDictionary<K,V>
public boolean isEmpty()
public TEnumeration<K> keys()
keys
in class TDictionary<K,V>
protected void rehash()
public int size()
Copyright © 2019. All rights reserved.