Class MapPropertyExtensionsKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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
    • Constructor Detail

    • 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