## Uses of Interface
org.hsqldb.lib.Collection

- Packages that use Collection
  Package | Description
  --- | ---
  org.hsqldb.lib | Contains shared classes used by other HyperSQL classes.

- - ### Uses of Collection in org.hsqldb.lib

    Subinterfaces of Collection in org.hsqldb.lib
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `List<E>` | Interface for List collections.
    `interface` | `Set<E>` | Marker interface for a Collection that is a Set of values.

    Classes in org.hsqldb.lib that implement Collection
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `ArrayListIdentity<E>` | Extends HsqlArrayList.
    `class` | `HashSet<E>` | This class does not store null keys.
    `class` | `HsqlArrayList<E>` | Intended as an asynchronous alternative to Vector.
    `class` | `HsqlDeque<E>` | A `List<E>` that also implements `Deque<E>` and `Queue<E>` and methods for usage as stack.
    `class` | `OrderedHashSet<E>` | A list which is also a Set which maintains the inserted order of elements and allows access by index.

    Methods in org.hsqldb.lib that return Collection
    Modifier and Type | Method | Description
    --- | --- | ---
    `Collection<V>` | HashMap.`values()` |
    `Collection<V>` | IntKeyHashMap.`values()` |
    `Collection<V>` | IntKeyHashMapConcurrent.`values()` |
    `Collection<java.lang.Integer>` | IntKeyIntValueHashMap.`values()` |
    `Collection<java.lang.Long>` | IntKeyLongValueHashMap.`values()` |
    `Collection<java.lang.Integer>` | IntValueHashMap.`values()` |
    `Collection<V>` | LongKeyHashMap.`values()` |
    `Collection<java.lang.Integer>` | LongKeyIntValueHashMap.`values()` |
    `Collection<java.lang.Long>` | LongKeyLongValueHashMap.`values()` |
    `Collection<java.lang.Long>` | LongValueHashMap.`values()` |
    `Collection<V>` | Map.`values()` |
    `Collection<V>` | MultiValueHashMap.`values()` |
    `Collection<V>` | OrderedLongKeyHashMap.`values()` |

    Methods in org.hsqldb.lib with parameters of type Collection
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | Collection.`addAll​(Collection<? extends E> c)` |
    `boolean` | HashSet.`addAll​(Collection<? extends E> c)` | returns true if any element is added
    `boolean` | HsqlDeque.`addAll​(int index, Collection c)` |
    `boolean` | IntHashSet.`addAll​(Collection<? extends java.lang.Integer> col)` |
    `boolean` | HashSet.`containsAll​(Collection<?> col)` |
    `boolean` | HsqlDeque.`containsAll​(Collection c)` |
    `boolean` | IntHashSet.`containsAll​(Collection<?> c)` |
    `boolean` | HashSet.`removeAll​(Collection<?> c)` | returns true if all were removed
    `boolean` | HsqlDeque.`removeAll​(Collection c)` |
    `boolean` | IntHashSet.`removeAll​(Collection<?> c)` |
    `boolean` | HashSet.`retainAll​(Collection<?> c)` |
    `boolean` | HsqlDeque.`retainAll​(Collection c)` |
    `boolean` | IntHashSet.`retainAll​(Collection<?> c)` |