Module org.hsqldb

Class 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 Detail

      • IntHashSet

        public IntHashSet()
      • IntHashSet

        public IntHashSet​(int initialCapacity)
                   throws java.lang.IllegalArgumentException
        Throws:
        java.lang.IllegalArgumentException
      • IntHashSet

        public IntHashSet​(int[] elements)
      • IntHashSet

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

      • contains

        public boolean contains​(java.lang.Object o)
      • contains

        public boolean contains​(int key)
      • add

        public boolean add​(java.lang.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<java.lang.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<java.lang.Integer> iterator()