Class LongHashSet.Synchronized

    • Constructor Detail

      • Synchronized

        public Synchronized​(int capacity)
    • Method Detail

      • add

        public boolean add​(long key)
        Description copied from class: LongHashSet
        Adds the given value to the set.
        Overrides:
        add in class LongHashSet
        Returns:
        true if the value was actually new
      • remove

        public boolean remove​(long key)
        Description copied from class: LongHashSet
        Removes the given value to the set.
        Overrides:
        remove in class LongHashSet
        Returns:
        true if the value was actually removed
      • keys

        public long[] keys()
        Description copied from class: LongHashSet
        Returns all keys in no particular order.
        Overrides:
        keys in class LongHashSet
      • reserveRoom

        public void reserveRoom​(int entryCount)
        Description copied from class: LongHashSet
        Target load: 0,6
        Overrides:
        reserveRoom in class LongHashSet