public class LongLinkedHashMap<V> extends LongHashMap<V>
| Constructor and Description |
|---|
LongLinkedHashMap()
Constructs an empty insertion-ordered LinkedHashMap instance with the default initial capacity (16) and load factor (0.75).
|
LongLinkedHashMap(int initialCapacity)
Constructs an empty insertion-ordered LinkedHashMap instance with the specified initial capacity and a default load factor (0.75).
|
LongLinkedHashMap(int initialCapacity, float loadFactor)
Constructs an empty insertion-ordered LinkedHashMap instance with the specified initial capacity and load factor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes all of the mappings from this map.
|
long[] |
keys()
Returns true if this map maps one or more keys to the specified value.
|
long[] |
keysReverse() |
java.util.Iterator<V> |
valuesIterator() |
java.util.Iterator<V> |
valuesReverseIterator() |
clone, containsKey, get, getRehashTime, getStatistics, isEmpty, put, remove, size
public LongLinkedHashMap(int initialCapacity,
float loadFactor)
initialCapacity - the initial capacityloadFactor - the load factorjava.lang.IllegalArgumentException - if the initial capacity is negative or the load factor is nonpositivepublic LongLinkedHashMap(int initialCapacity)
initialCapacity - the initial capacityjava.lang.IllegalArgumentException - if the initial capacity is negativepublic LongLinkedHashMap()
public long[] keys()
keys in class LongHashMap<V>value - value whose presence in this map is to be testedpublic long[] keysReverse()
public java.util.Iterator<V> valuesIterator()
valuesIterator in class LongHashMap<V>public java.util.Iterator<V> valuesReverseIterator()
public void clear()
clear in class LongHashMap<V>