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