A default map allows for a generator producing values automatically if you want to add something to a map that does not have a value associated with a given key. This does not implement the default map interface as return types (and some future methods may) change

Type Parameters

  • K
  • V = K

Constructors

Methods

  • Return a value for the given key, if the key does not exist within the default map, this will invoke the generator and assign the produced value.

    Parameters

    Returns V