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​(java.lang.Object o)
      • remove

        public boolean remove​(int key)
      • getStartMatchCount

        public int getStartMatchCount​(int[] array)
      • addAll

        public boolean addAll​(Collection<? extends java.lang.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)