Collection
Date: 2016-06-24

java.util

## Interface Collection

- All Known Subinterfaces:
    List, Set, SortedSet
  All Known Implementing Classes:
    AbstractCollection, AbstractList, AbstractSequentialList, AbstractSet, ArrayList, HashSet, LinkedHashSet, LinkedList, Stack, TreeSet, Vector

      public interface Collection

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `add(Object var0)`
    `boolean` | `addAll(Collection var0)`
    `void` | `clear()`
    `boolean` | `contains(Object var0)`
    `boolean` | `containsAll(Collection var0)`
    `boolean` | `equals(Object var0)`
    `int` | `hashCode()`
    `boolean` | `isEmpty()`
    `Iterator` | `iterator()`
    `boolean` | `remove(Object var0)`
    `boolean` | `removeAll(Collection var0)`
    `boolean` | `retainAll(Collection var0)`
    `int` | `size()`
    `Object[]` | `toArray()`
    `Object[]` | `toArray(Object[] var0)`

- - ### Method Detail

    - #### add

          boolean add(Object var0)

    - #### addAll

          boolean addAll(Collection var0)

    - #### clear

          void clear()

    - #### contains

          boolean contains(Object var0)

    - #### containsAll

          boolean containsAll(Collection var0)

    - #### equals

          boolean equals(Object var0)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### isEmpty

          boolean isEmpty()

    - #### iterator

          Iterator iterator()

    - #### remove

          boolean remove(Object var0)

    - #### removeAll

          boolean removeAll(Collection var0)

    - #### retainAll

          boolean retainAll(Collection var0)

    - #### size

          int size()

    - #### toArray

          Object[] toArray()

    - #### toArray

          Object[] toArray(Object[] var0)