public class PrimitiveIntLongHashMap extends AbstractIntHopScotchCollection<long[]> implements PrimitiveIntLongMap
| Constructor and Description |
|---|
PrimitiveIntLongHashMap(Table<long[]> table,
HopScotchHashingAlgorithm.Monitor monitor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(int key) |
boolean |
equals(Object other) |
long |
get(int key) |
int |
hashCode() |
long |
put(int key,
long value) |
long |
remove(int key) |
int |
size() |
String |
toString() |
<E extends Exception> |
visitEntries(PrimitiveIntLongVisitor<E> visitor)
Visit the entries of this map, until all have been visited or the visitor returns 'true'.
|
iterator, visitKeysclear, close, getLastTable, isEmpty, tableGrewvisitKeysclear, close, isEmptyiteratorpublic PrimitiveIntLongHashMap(Table<long[]> table, HopScotchHashingAlgorithm.Monitor monitor)
public long put(int key,
long value)
put in interface PrimitiveIntLongMappublic boolean containsKey(int key)
containsKey in interface PrimitiveIntLongMappublic long get(int key)
get in interface PrimitiveIntLongMappublic long remove(int key)
remove in interface PrimitiveIntLongMappublic int size()
size in interface PrimitiveCollectionsize in class AbstractHopScotchCollection<long[]>public String toString()
toString in class AbstractHopScotchCollection<long[]>public <E extends Exception> void visitEntries(PrimitiveIntLongVisitor<E> visitor) throws E extends Exception
PrimitiveIntLongMapvisitEntries in interface PrimitiveIntLongMapE extends Exceptionpublic boolean equals(Object other)
equals in class AbstractHopScotchCollection<long[]>public int hashCode()
hashCode in class AbstractHopScotchCollection<long[]>Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.