Interface Property<T>

    • Method Detail

      • set

        void set​(@Nullable
                 T value)
        Sets the value of the property the given value.

        This method can also be used to clear the value of the property, by passing null as the value.

        Parameters:
        value - The value, can be null.
      • set

        void set​(Provider<? extends T> provider)
        Sets the property to have the same value of the given provider. This property will track the value of the provider and query its value each time the value of the property is queried. When the provider has no value, this property will also have no value.
        Parameters:
        provider - Provider