Package com.graphhopper.coll
Class GHIntHashSet
java.lang.Object
com.carrotsearch.hppc.IntHashSet
com.graphhopper.coll.GHIntHashSet
- All Implemented Interfaces:
com.carrotsearch.hppc.IntCollection
,com.carrotsearch.hppc.IntContainer
,com.carrotsearch.hppc.IntLookupContainer
,com.carrotsearch.hppc.IntSet
,com.carrotsearch.hppc.Preallocable
,Cloneable
,Iterable<com.carrotsearch.hppc.cursors.IntCursor>
public class GHIntHashSet
extends com.carrotsearch.hppc.IntHashSet
Prefer GHTBitSet or GHBitSetImpl over this class.
- Author:
- Peter Karich
-
Nested Class Summary
Nested classes/interfaces inherited from class com.carrotsearch.hppc.IntHashSet
com.carrotsearch.hppc.IntHashSet.EntryIterator
-
Field Summary
Fields inherited from class com.carrotsearch.hppc.IntHashSet
assigned, hasEmptyKey, keyMixer, keys, loadFactor, mask, orderMixer, resizeAt
-
Constructor Summary
ConstructorsConstructorDescriptionGHIntHashSet
(int capacity) GHIntHashSet
(int capacity, double loadFactor) GHIntHashSet
(int capacity, double loadFactor, com.carrotsearch.hppc.HashOrderMixingStrategy hashOrderMixer) GHIntHashSet
(com.carrotsearch.hppc.IntContainer container) -
Method Summary
Methods inherited from class com.carrotsearch.hppc.IntHashSet
add, addAll, addAll, addAll, allocateBuffers, allocateThenInsertThenRehash, clear, clone, contains, ensureCapacity, equals, forEach, hashCode, hashKey, indexExists, indexGet, indexInsert, indexOf, indexReplace, isEmpty, iterator, rehash, release, remove, removeAll, removeAll, shiftConflictingKeys, size, toArray, verifyLoadFactor, visualizeKeyDistribution
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.carrotsearch.hppc.IntCollection
removeAll, retainAll, retainAll
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
GHIntHashSet
public GHIntHashSet() -
GHIntHashSet
public GHIntHashSet(int capacity) -
GHIntHashSet
public GHIntHashSet(int capacity, double loadFactor) -
GHIntHashSet
public GHIntHashSet(int capacity, double loadFactor, com.carrotsearch.hppc.HashOrderMixingStrategy hashOrderMixer) -
GHIntHashSet
public GHIntHashSet(com.carrotsearch.hppc.IntContainer container)
-
-
Method Details
-
from
public static com.carrotsearch.hppc.IntHashSet from(int... elements) -
removeAll
public int removeAll(com.carrotsearch.hppc.IntLookupContainer arg0) - Specified by:
removeAll
in interfacecom.carrotsearch.hppc.IntCollection
-
retainAll
public int retainAll(com.carrotsearch.hppc.IntLookupContainer arg0) - Specified by:
retainAll
in interfacecom.carrotsearch.hppc.IntCollection
-
retainAll
public int retainAll(com.carrotsearch.hppc.predicates.IntPredicate arg0) - Specified by:
retainAll
in interfacecom.carrotsearch.hppc.IntCollection
-
toString
-