public class PrimitiveLongHashSet extends AbstractLongHopScotchCollection<Object> implements PrimitiveLongSet
| Constructor and Description |
|---|
PrimitiveLongHashSet(Table<Object> table,
Object valueMarker,
HopScotchHashingAlgorithm.Monitor monitor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(long value) |
boolean |
addAll(PrimitiveLongIterator values) |
boolean |
contains(long value) |
boolean |
equals(Object other) |
int |
hashCode() |
boolean |
remove(long value) |
boolean |
test(long value)
Prefer using
contains(long) - this method is identical and required by the IntPredicate interface |
iterator, visitKeysclear, close, getLastTable, isEmpty, size, tableGrew, toStringvisitKeysclear, close, isEmpty, sizeiteratorand, negate, orpublic PrimitiveLongHashSet(Table<Object> table, Object valueMarker, HopScotchHashingAlgorithm.Monitor monitor)
public boolean add(long value)
add in interface PrimitiveLongSetpublic boolean addAll(PrimitiveLongIterator values)
addAll in interface PrimitiveLongSetpublic boolean contains(long value)
contains in interface PrimitiveLongSetpublic boolean test(long value)
contains(long) - this method is identical and required by the IntPredicate interfacetest in interface LongPredicatevalue - the input argumentpublic boolean remove(long value)
remove in interface PrimitiveLongSetpublic boolean equals(Object other)
equals in class AbstractHopScotchCollection<Object>public int hashCode()
hashCode in class AbstractHopScotchCollection<Object>Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.