Class ArrayHashSet<E>

java.lang.Object
com.landawn.abacus.util.ArrayHashSet<E>
Type Parameters:
E -
All Implemented Interfaces:
Iterable<E>, Collection<E>, Set<E>
Direct Known Subclasses:
LinkedArrayHashSet

public class ArrayHashSet<E> extends Object implements Set<E>
It's designed to supported primitive/object array. The elements in the array must not be modified after the array is added into the set.
Since:
0.8
Author:
Haiyang Li
  • Constructor Details

    • ArrayHashSet

      public ArrayHashSet()
    • ArrayHashSet

      public ArrayHashSet(int initialCapacity)
      Parameters:
      initialCapacity -
    • ArrayHashSet

      public ArrayHashSet(Class<? extends Set> setType)
      Parameters:
      setType -
    • ArrayHashSet

      public ArrayHashSet(Collection<? extends E> coll)
      Parameters:
      coll -
  • Method Details