public class PrimitiveLongIntHashMap extends AbstractLongHopScotchCollection<int[]> implements PrimitiveLongIntMap
| Constructor and Description |
|---|
PrimitiveLongIntHashMap(Table<int[]> table,
HopScotchHashingAlgorithm.Monitor monitor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(long key) |
boolean |
equals(Object other) |
int |
get(long key) |
int |
hashCode() |
int |
put(long key,
int value) |
int |
remove(long key) |
int |
size() |
String |
toString() |
<E extends Exception> |
visitEntries(PrimitiveLongIntVisitor<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 PrimitiveLongIntHashMap(Table<int[]> table, HopScotchHashingAlgorithm.Monitor monitor)
public int put(long key,
int value)
put in interface PrimitiveLongIntMappublic boolean containsKey(long key)
containsKey in interface PrimitiveLongIntMappublic int get(long key)
get in interface PrimitiveLongIntMappublic int remove(long key)
remove in interface PrimitiveLongIntMappublic int size()
size in interface PrimitiveCollectionsize in class AbstractHopScotchCollection<int[]>public String toString()
toString in class AbstractHopScotchCollection<int[]>public <E extends Exception> void visitEntries(PrimitiveLongIntVisitor<E> visitor) throws E extends Exception
PrimitiveLongIntMapvisitEntries in interface PrimitiveLongIntMapE extends Exceptionpublic boolean equals(Object other)
equals in class AbstractHopScotchCollection<int[]>public int hashCode()
hashCode in class AbstractHopScotchCollection<int[]>Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.