de.grogra.xl.util
public class IntHashMap<V> extends java.lang.Object implements java.lang.Iterable<IntHashMap.Entry<V>>
| Modifier and Type | Class and Description |
|---|---|
static class |
IntHashMap.Entry<V> |
| Constructor and Description |
|---|
IntHashMap() |
IntHashMap(int capacity) |
IntHashMap(int capacity,
float loadFactor) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int key,
V value) |
void |
clear() |
boolean |
containsKey(int key) |
V |
get(int key) |
java.lang.Object |
get(int key,
java.lang.Object defaultValue) |
IntHashMap.Entry |
getEntry(int key) |
boolean |
isEmpty() |
java.util.Iterator<IntHashMap.Entry<V>> |
iterator() |
V |
put(int key,
V value) |
V |
remove(int key) |
void |
remove(IntHashMap.Entry<V> entry) |
V |
remove(int key,
V value) |
void |
removeAll(int key) |
int |
size() |
public IntHashMap()
public IntHashMap(int capacity)
public IntHashMap(int capacity,
float loadFactor)
public void add(int key,
V value)
public void clear()
public boolean containsKey(int key)
public V get(int key)
public java.lang.Object get(int key,
java.lang.Object defaultValue)
public IntHashMap.Entry getEntry(int key)
public boolean isEmpty()
public java.util.Iterator<IntHashMap.Entry<V>> iterator()
iterator in interface java.lang.Iterable<IntHashMap.Entry<V>>public V remove(int key)
public void remove(IntHashMap.Entry<V> entry)
public void removeAll(int key)
public int size()