UniqueMultiMap

public class UniqueMultiMap
extends MultiMap<K, V>

java.lang.Object
   ↳ com.android.tradefed.util.MultiMap<K, V>
     ↳ com.android.tradefed.util.UniqueMultiMap<K, V>


A MultiMap that ensures unique values for each key.

Attempts to insert a duplicate value will be ignored

Summary

Public constructors

UniqueMultiMap()

Public methods

V put(K key, V value)

Adds the value to the list associated with a key.

Public constructors

UniqueMultiMap

public UniqueMultiMap ()

Public methods

put

public V put (K key, 
                V value)

Adds the value to the list associated with a key.

Parameters
key K

value V

Returns
V