com.levigo.util.base.collections
Class IntHashtable<V>
java.lang.Object
java.util.Dictionary<Integer,V>
com.levigo.util.base.collections.IntHashtable<V>
- All Implemented Interfaces:
- Cloneable
public class IntHashtable<V>
- extends Dictionary<Integer,V>
- implements Cloneable
IntHashtable
public IntHashtable(int initialCapacity,
float loadFactor)
IntHashtable
public IntHashtable(int initialCapacity)
IntHashtable
public IntHashtable()
size
public int size()
- Specified by:
size
in class Dictionary<Integer,V>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in class Dictionary<Integer,V>
keys
public Enumeration<Integer> keys()
- Specified by:
keys
in class Dictionary<Integer,V>
elements
public Enumeration<V> elements()
- Specified by:
elements
in class Dictionary<Integer,V>
contains
public boolean contains(Object value)
containsKey
public boolean containsKey(int key)
get
public V get(int key)
get
public V get(Object okey)
- Specified by:
get
in class Dictionary<Integer,V>
rehash
protected void rehash()
put
public V put(int key,
V value)
put
public V put(Integer okey,
V value)
- Specified by:
put
in class Dictionary<Integer,V>
remove
public V remove(int key)
remove
public V remove(Object okey)
- Specified by:
remove
in class Dictionary<Integer,V>
clear
public void clear()
clone
public Object clone()
- Overrides:
clone
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.