public abstract class AbstractHopScotchCollection<VALUE> extends Object implements PrimitiveCollection, HopScotchHashingAlgorithm.ResizeMonitor<VALUE>
HopScotchHashingAlgorithm It's a HopScotchHashingAlgorithm.ResizeMonitor which will have the Table
reassigned when it grows.| Constructor and Description |
|---|
AbstractHopScotchCollection(Table<VALUE> table) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
close()
Free any attached resources.
|
abstract boolean |
equals(Object other) |
Table<VALUE> |
getLastTable() |
abstract int |
hashCode() |
boolean |
isEmpty() |
int |
size() |
void |
tableGrew(Table<VALUE> newTable) |
String |
toString() |
public int size()
size in interface PrimitiveCollectionpublic boolean isEmpty()
isEmpty in interface PrimitiveCollectionpublic void clear()
clear in interface PrimitiveCollectionpublic void tableGrew(Table<VALUE> newTable)
tableGrew in interface HopScotchHashingAlgorithm.ResizeMonitor<VALUE>public Table<VALUE> getLastTable()
getLastTable in interface HopScotchHashingAlgorithm.ResizeMonitor<VALUE>public void close()
PrimitiveCollectionclose in interface AutoCloseableclose in interface PrimitiveCollectionCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.