public class PrimitiveIntObjectHashMap<VALUE> extends AbstractIntHopScotchCollection<VALUE> implements PrimitiveIntObjectMap<VALUE>
| Constructor and Description |
|---|
PrimitiveIntObjectHashMap(Table<VALUE> table,
HopScotchHashingAlgorithm.Monitor monitor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(int key) |
boolean |
equals(Object other) |
VALUE |
get(int key) |
int |
hashCode() |
VALUE |
put(int key,
VALUE value) |
VALUE |
remove(int key) |
int |
size() |
String |
toString() |
<E extends Exception> |
visitEntries(PrimitiveIntObjectVisitor<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 PrimitiveIntObjectHashMap(Table<VALUE> table, HopScotchHashingAlgorithm.Monitor monitor)
public VALUE put(int key, VALUE value)
put in interface PrimitiveIntObjectMap<VALUE>public boolean containsKey(int key)
containsKey in interface PrimitiveIntObjectMap<VALUE>public VALUE get(int key)
get in interface PrimitiveIntObjectMap<VALUE>public VALUE remove(int key)
remove in interface PrimitiveIntObjectMap<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(PrimitiveIntObjectVisitor<VALUE,E> visitor) throws E extends Exception
PrimitiveIntObjectMapvisitEntries in interface PrimitiveIntObjectMap<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.