HashSet
Date: 2016-06-24

java.util

## Class HashSet

- java.lang.Object
- - java.util.AbstractCollection
  - - java.util.AbstractSet
    - - java.util.HashSet

- All Implemented Interfaces:
    Serializable, Cloneable, Collection, Set
  Direct Known Subclasses:
    LinkedHashSet

      public class HashSet
      extends AbstractSet
      implements Serializable, Cloneable, Set

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HashSet()`
    `HashSet(Collection var0)`
    `HashSet(int var0)`
    `HashSet(int var0, float var1)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `clone()`
    `Iterator` | `iterator()`
    `int` | `size()`

    - ### Methods inherited from class java.util.AbstractCollection

      `add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray`

    - ### Methods inherited from class java.lang.Object

      `equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.util.Set

      `equals, hashCode`

    - ### Methods inherited from interface java.util.Collection

      `add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray`

- - ### Constructor Detail

    - #### HashSet

          public HashSet()

    - #### HashSet

          public HashSet(int var0)

    - #### HashSet

          public HashSet(int var0,
                 float var1)

    - #### HashSet

          public HashSet(Collection var0)

  - ### Method Detail

    - #### clone

          public Object clone()

      Overrides:
        `clone` in class `Object`

    - #### iterator

          public Iterator iterator()

      Specified by:
        `iterator` in interface `Collection`

    - #### size

          public int size()

      Specified by:
        `size` in interface `Collection`