Serializable
, Cloneable
, Iterable<IntKeyMap.Entry<V>>
public final class IntKeyMap<V> extends Object implements Cloneable, Serializable, Iterable<IntKeyMap.Entry<V>>
FastCopyHashMap
by Jason T. Greene.Modifier and Type | Class | Description |
---|---|---|
static class |
IntKeyMap.Entry<V> |
A map entry.
|
Constructor | Description |
---|---|
IntKeyMap() |
|
IntKeyMap(int initialCapacity) |
|
IntKeyMap(int initialCapacity,
float loadFactor) |
|
IntKeyMap(IntKeyMap<? extends V> map) |
Modifier and Type | Method | 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() |
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()
Copyright © 2018 JBoss by Red Hat. All rights reserved.