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

    Constructors
    Constructor
    Description
     
    GHIntHashSet(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

    Modifier and Type
    Method
    Description
    static com.carrotsearch.hppc.IntHashSet
    from(int... elements)
     
    int
    removeAll(com.carrotsearch.hppc.IntLookupContainer arg0)
     
    int
    retainAll(com.carrotsearch.hppc.IntLookupContainer arg0)
     
    int
    retainAll(com.carrotsearch.hppc.predicates.IntPredicate arg0)
     
     

    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 interface com.carrotsearch.hppc.IntCollection
    • retainAll

      public int retainAll(com.carrotsearch.hppc.IntLookupContainer arg0)
      Specified by:
      retainAll in interface com.carrotsearch.hppc.IntCollection
    • retainAll

      public int retainAll(com.carrotsearch.hppc.predicates.IntPredicate arg0)
      Specified by:
      retainAll in interface com.carrotsearch.hppc.IntCollection
    • toString

      public String toString()
      Overrides:
      toString in class Object