add abstract method

void add(
  1. K key,
  2. V value
)

Adds an association from the given key to the given value.

Implementation

void add(K key, V value);