public class PrimitiveLongLongHashMap extends AbstractLongHopScotchCollection<long[]> implements PrimitiveLongLongMap
| Constructor and Description |
|---|
PrimitiveLongLongHashMap(Table<long[]> table,
HopScotchHashingAlgorithm.Monitor monitor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(long key) |
boolean |
equals(Object other) |
long |
get(long key) |
int |
hashCode() |
long |
put(long key,
long value) |
long |
remove(long key) |
int |
size() |
String |
toString() |
<E extends Exception> |
visitEntries(PrimitiveLongLongVisitor<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 PrimitiveLongLongHashMap(Table<long[]> table, HopScotchHashingAlgorithm.Monitor monitor)
public long put(long key,
long value)
put in interface PrimitiveLongLongMappublic boolean containsKey(long key)
containsKey in interface PrimitiveLongLongMappublic long get(long key)
get in interface PrimitiveLongLongMappublic long remove(long key)
remove in interface PrimitiveLongLongMappublic int size()
size in interface PrimitiveCollectionsize in class AbstractHopScotchCollection<long[]>public String toString()
toString in class AbstractHopScotchCollection<long[]>public <E extends Exception> void visitEntries(PrimitiveLongLongVisitor<E> visitor) throws E extends Exception
PrimitiveLongLongMapvisitEntries in interface PrimitiveLongLongMapE 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.