Package 

Class MapPropertyExtensionsKt

    • Method Summary

      Modifier and Type Method Description
      final static <K extends Any, V extends Any> Unit putFrom(MapProperty<K, V> $self, K key, Provider<out V> providerOfValue) Adds a map entry to the property value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • putFrom

         final static <K extends Any, V extends Any> Unit putFrom(MapProperty<K, V> $self, K key, Provider<out V> providerOfValue)

        Adds a map entry to the property value.

        Same as MapProperty.put, but uses a different name to avoid an overload resolution ambiguity in case the value type is Any.

        Parameters:
        key - the key
        providerOfValue - the provider of the value