Class GHLongHashSet

java.lang.Object
com.carrotsearch.hppc.LongHashSet
com.graphhopper.coll.GHLongHashSet
All Implemented Interfaces:
com.carrotsearch.hppc.LongCollection, com.carrotsearch.hppc.LongContainer, com.carrotsearch.hppc.LongLookupContainer, com.carrotsearch.hppc.LongSet, com.carrotsearch.hppc.Preallocable, Cloneable, Iterable<com.carrotsearch.hppc.cursors.LongCursor>

public class GHLongHashSet extends com.carrotsearch.hppc.LongHashSet
Author:
Peter Karich
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.carrotsearch.hppc.LongHashSet

    com.carrotsearch.hppc.LongHashSet.EntryIterator
  • Field Summary

    Fields inherited from class com.carrotsearch.hppc.LongHashSet

    assigned, hasEmptyKey, keyMixer, keys, loadFactor, mask, orderMixer, resizeAt
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    GHLongHashSet(int capacity)
     
    GHLongHashSet(int capacity, double loadFactor)
     
    GHLongHashSet(int capacity, double loadFactor, com.carrotsearch.hppc.HashOrderMixingStrategy hashOrderMixer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    removeAll(com.carrotsearch.hppc.LongLookupContainer arg0)
     
    int
    retainAll(com.carrotsearch.hppc.LongLookupContainer arg0)
     
    int
    retainAll(com.carrotsearch.hppc.predicates.LongPredicate arg0)
     
     

    Methods inherited from class com.carrotsearch.hppc.LongHashSet

    add, addAll, addAll, addAll, allocateBuffers, allocateThenInsertThenRehash, clear, clone, contains, ensureCapacity, equals, forEach, from, 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 java.lang.Iterable

    forEach, spliterator

    Methods inherited from interface com.carrotsearch.hppc.LongCollection

    removeAll, retainAll, retainAll
  • Constructor Details

    • GHLongHashSet

      public GHLongHashSet()
    • GHLongHashSet

      public GHLongHashSet(int capacity)
    • GHLongHashSet

      public GHLongHashSet(int capacity, double loadFactor)
    • GHLongHashSet

      public GHLongHashSet(int capacity, double loadFactor, com.carrotsearch.hppc.HashOrderMixingStrategy hashOrderMixer)
  • Method Details

    • removeAll

      public int removeAll(com.carrotsearch.hppc.LongLookupContainer arg0)
      Specified by:
      removeAll in interface com.carrotsearch.hppc.LongCollection
    • retainAll

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

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

      public String toString()
      Overrides:
      toString in class Object