MultiValueMap.fromAssociativeArray

Constructs a multivalued map from an associative array of single values.

  1. MultiValueMap!(KeyType, ValueType, KeySort) fromAssociativeArray(ValueType[][KeyType] aa)
  2. MultiValueMap!(KeyType, ValueType, KeySort) fromAssociativeArray(ValueType[KeyType] aa)
    struct MultiValueMap(KeyType, ValueType, alias KeySort = (a, b) => a < b, alias KeyEquals = (a, b) => a == b)
    static
    MultiValueMap!(KeyType, ValueType, KeySort)
    fromAssociativeArray
    (
    ValueType[KeyType] aa
    )

Parameters

aa ValueType[KeyType]

The associative array to use.

Return Value

Type: MultiValueMap!(KeyType, ValueType, KeySort)

The multivalued map.