Multimap

open class Multimap<K, V>

Structure that handles singleKey-multipleValues map.

Parameters

<K>

Key type

<V>

Values type

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun get(key: K): List<V>
Link copied to clipboard
open fun isEmpty(): Boolean
Link copied to clipboard
open fun put(key: K, value: V)
Add the value to the map.
Link copied to clipboard
open fun size(): Int