edu.ksu.cis.projects.trove.custom
Class IntObjectTable<V>
java.lang.Object
edu.ksu.cis.projects.trove.custom.IntObjectTable<V>
public class IntObjectTable<V>
- extends Object
IntObjectTable
public IntObjectTable()
IntObjectTable
public IntObjectTable(int initialCapacity)
valueSet
public Set<V> valueSet(boolean coDomainIsComparable)
clear
public void clear()
clone
public IntObjectTable<V> clone()
- Overrides:
clone
in class Object
containsKey
public boolean containsKey(int key)
containsValue
public boolean containsValue(V val)
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
get
public V get(int key)
getValues
public V[] getValues(Class<V> componentType)
getValues
public V[] getValues(V[] a)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
keys
public int[] keys()
put
public V put(int key,
V value)
remove
public V remove(int key)
contains
public boolean contains(int val)
compact
public void compact()
ensureCapacity
public void ensureCapacity(int desiredCapacity)
isEmpty
public boolean isEmpty()
size
public int size()
trimToSize
public void trimToSize()