# Spec VectorSet
A fast map for small key types.

Extends | Map
All Extended | Map
Defined in | <seqan/map.h>
Signature | `template <typename TValue[, typename TSpec]> class Map<TValue, VectorSet<TSpec> >;`

## Template Parameters

`TValue` | The type of value stored in the map.
`TSpec` | The specializing type. `TSpec` is used as specialization for the String type that is used to store the values, defaults to `Alloc<>`.

## Interface Function Overview

### Interface Functions Inherited From Map

- `add`
- `cargo`
- `erase`
- `eraseAll`
- `find`
- `hasKey`
- `insert`
- `length`
- `mapValue`
- `value`

## Interface Metafunction Overview

### Interface Metafunctions Inherited From Map

- `MapValue`

## Detailed Description

The memory needed is linear to the number different values the Key type of `TValue` can get. So do not use this map for large key types.

#### Dox Sources

    /*!
     * @class VectorSet
     *
     * @extends Map
     *
     * @headerfile <seqan/map.h>
     *
     * @brief A fast map for small key types.
     *
     * @signature template <typename TValue[, typename TSpec]> class Map<TValue,
     *            VectorSet<TSpec> >;
     *
     * @tparam TValue The type of value stored in the map.
     * @tparam TSpec The specializing type. <tt>TSpec</tt> is used as specialization
     *               for the String type that is used to store the values, defaults
     *               to <tt>Alloc&lt;&gt;</tt>.
     *
     * The memory needed is linear to the number different values the Key type of
     * <tt>TValue</tt> can get. So do not use this map for large key types.
     */