public class IntHashMap<V> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IntHashMap.Entry<V> |
Constructor and Description |
---|
IntHashMap() |
IntHashMap(int initialCapacity) |
IntHashMap(int initialCapacity,
float loadFactor) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
contains(Object value) |
boolean |
containsKey(int key) |
boolean |
containsValue(Object value) |
Set<IntHashMap.Entry<V>> |
entrySet() |
V |
get(int key) |
boolean |
isEmpty() |
Set<Integer> |
keySet() |
static <U> IntHashMap<U> |
nullMap() |
V |
put(int key,
V value) |
protected void |
rehash() |
V |
remove(int key) |
int |
size() |
String |
toString() |
Collection<V> |
values() |
public IntHashMap()
public IntHashMap(int initialCapacity)
public IntHashMap(int initialCapacity, float loadFactor)
public int size()
public boolean isEmpty()
public boolean contains(Object value)
public boolean containsValue(Object value)
public boolean containsKey(int key)
public V get(int key)
protected void rehash()
public V remove(int key)
public void clear()
public Collection<V> values()
public Set<IntHashMap.Entry<V>> entrySet()
public static <U> IntHashMap<U> nullMap()
Copyright © 2001-2015 JRuby. All Rights Reserved.