public final class IntKeyMap<V> extends Object implements Cloneable, Serializable, Iterable<IntKeyMap.Entry<V>>
FastCopyHashMap
by Jason T. Greene.Modifier and Type | Class and Description |
---|---|
static class |
IntKeyMap.Entry<V>
A map entry.
|
Constructor and Description |
---|
IntKeyMap() |
IntKeyMap(int initialCapacity) |
IntKeyMap(int initialCapacity,
float loadFactor) |
IntKeyMap(IntKeyMap<? extends V> map) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
IntKeyMap<V> |
clone() |
boolean |
containsKey(int key) |
boolean |
containsValue(Object value) |
V |
get(int key) |
boolean |
isEmpty() |
Iterator<IntKeyMap.Entry<V>> |
iterator()
Iterate over the entries.
|
void |
printDebugStats() |
V |
put(int key,
V value) |
V |
remove(int key) |
int |
size() |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public IntKeyMap(int initialCapacity, float loadFactor)
public IntKeyMap(int initialCapacity)
public IntKeyMap()
public int size()
public boolean isEmpty()
public V get(int key)
public boolean containsKey(int key)
public boolean containsValue(Object value)
public V remove(int key)
public void clear()
public void printDebugStats()
public Iterator<IntKeyMap.Entry<V>> iterator()
iterator
in interface Iterable<IntKeyMap.Entry<V>>
Copyright © 2017 JBoss by Red Hat. All rights reserved.