Module org.hsqldb

Class IntHashSet

java.lang.Object
org.hsqldb.map.BaseHashMap
org.hsqldb.lib.IntHashSet
Direct Known Subclasses:
OrderedIntHashSet

public class IntHashSet extends org.hsqldb.map.BaseHashMap
A set of int primitives.

Since:
2.3.0
Author:
Fred Toussi (fredt@users dot sourceforge.net)
  • Constructor Details

    • IntHashSet

      public IntHashSet()
    • IntHashSet

      public IntHashSet(int initialCapacity) throws IllegalArgumentException
      Throws:
      IllegalArgumentException
    • IntHashSet

      public IntHashSet(int[] elements)
    • IntHashSet

      public IntHashSet(int[] elementsA, int[] elementsB)
  • Method Details

    • contains

      public boolean contains(Object o)
    • contains

      public boolean contains(int key)
    • add

      public boolean add(Integer e)
    • add

      public boolean add(int key)
    • remove

      public boolean remove(Object o)
    • remove

      public boolean remove(int key)
    • getStartMatchCount

      public int getStartMatchCount(int[] array)
    • addAll

      public boolean addAll(Collection<? extends Integer> col)
    • addAll

      public boolean addAll(IntHashSet s)
    • addAll

      public boolean addAll(int[] elements)
    • containsAll

      public boolean containsAll(Collection<?> c)
    • retainAll

      public boolean retainAll(Collection<?> c)
    • removeAll

      public boolean removeAll(Collection<?> c)
    • toArray

      public int[] toArray()
    • toArray

      public int[] toArray(int[] array)
    • iterator

      public PrimitiveIterator<Integer> iterator()