Module org.hsqldb
Package org.hsqldb.lib

## Interface Map<K,​V>

- All Known Implementing Classes:
    `HashMap`, `IntKeyHashMap`, `IntKeyHashMapConcurrent`, `IntKeyIntValueHashMap`, `IntKeyLongValueHashMap`, `LongKeyHashMap`, `LongKeyIntValueHashMap`, `LongKeyLongValueHashMap`, `MultiValueHashMap`, `OrderedHashMap`, `OrderedIntKeyHashMap`, `OrderedLongKeyHashMap`

      public interface Map<K,​V>

  Interface for collections of mapped key - value pairs.
  Since:
    2.6.0
  Author:
    Fred Toussi (fredt@users dot sourceforge.net)

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface | Description
    --- | --- | ---
    `static interface` | `Map.Entry<K,​V>` | Interface for a key - value pair.

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `clear()` |
    `boolean` | `containsKey​(java.lang.Object key)` |
    `boolean` | `containsValue​(java.lang.Object value)` |
    `Set<Map.Entry<K,​V>>` | `entrySet()` |
    `V` | `get​(K key)` |
    `boolean` | `isEmpty()` |
    `Set<K>` | `keySet()` |
    `V` | `put​(K key, V value)` |
    `V` | `remove​(java.lang.Object key)` |
    `int` | `size()` |
    `Collection<V>` | `values()` |

- - ### Method Detail

    - #### size

          int size()

    - #### isEmpty

          boolean isEmpty()

    - #### containsKey

          boolean containsKey​(java.lang.Object key)

    - #### containsValue

          boolean containsValue​(java.lang.Object value)

    - #### get

          V get​(K key)

    - #### put

          V put​(K key,
                V value)

    - #### remove

          V remove​(java.lang.Object key)

    - #### clear

          void clear()

    - #### keySet

          Set<K> keySet()

    - #### values

          Collection<V> values()

    - #### entrySet

          Set<Map.Entry<K,​V>> entrySet()