public class IntHashtable extends Dictionary implements Cloneable
Constructor and Description |
---|
IntHashtable() |
IntHashtable(int initialCapacity) |
IntHashtable(int initialCapacity,
float loadFactor) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
Object |
clone() |
boolean |
contains(Object value) |
boolean |
containsKey(int key) |
Enumeration |
elements() |
Object |
get(int key) |
Object |
get(Object okey) |
boolean |
isEmpty() |
Enumeration |
keys() |
Object |
put(int key,
Object value) |
Object |
put(Object okey,
Object value) |
protected void |
rehash() |
Object |
remove(int key) |
Object |
remove(Object okey) |
int |
size() |
String |
toString() |
public IntHashtable(int initialCapacity, float loadFactor)
public IntHashtable(int initialCapacity)
public IntHashtable()
public int size()
size
in class Dictionary
public boolean isEmpty()
isEmpty
in class Dictionary
public Enumeration keys()
keys
in class Dictionary
public Enumeration elements()
elements
in class Dictionary
public boolean contains(Object value)
public boolean containsKey(int key)
public Object get(int key)
public Object get(Object okey)
get
in class Dictionary
protected void rehash()
public Object put(Object okey, Object value)
put
in class Dictionary
public Object remove(int key)
public Object remove(Object okey)
remove
in class Dictionary
public void clear()
Copyright © 1999–2019 ViaOA. All rights reserved.