Class IntHashSet

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

public class IntHashSet extends Object
A set of int primitives.
Since:
2.3.0
Author:
Fred Toussi (fredt@users dot sourceforge.net)
  • Field Details

    • ACCESS_MAX

      public static final int ACCESS_MAX
      See Also:
    • emptyObjectArray

      public static final Object[] emptyObjectArray
  • 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(int key)
    • getStartMatchCount

      public int getStartMatchCount(int[] array)
    • addAll

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

      public boolean addAll(IntHashSet s)
    • addAll

      public boolean addAll(int[] elements)
    • containsAll

      public boolean containsAll(IntHashSet c)
    • retainAll

      public boolean retainAll(IntHashSet c)
    • removeAll

      public boolean removeAll(IntHashSet c)
    • toArray

      public int[] toArray()
    • toArray

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

      public Iterator<Integer> iterator()
    • clear

      public void clear()
      Clear the map completely.
    • size

      public int size()
    • isEmpty

      public boolean isEmpty()
    • clone

      public org.hsqldb.map.BaseHashMap clone()