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