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 |
accept(int value) |
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, isEmpty, size, tableGrewvisitKeysclear, close, isEmpty, sizeiteratorpublic 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 org.neo4j.function.IntPredicatetest in interface org.neo4j.function.ThrowingIntPredicate<RuntimeException>value - the input argumentpublic boolean accept(int value)
accept in interface PrimitiveIntSetaccept in interface org.neo4j.function.primitive.PrimitiveIntPredicatepublic 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–2015 The Neo4j Graph Database Project. All rights reserved.