Interface DefaultSetter<S,​V>

    • Method Detail

      • setAsDefault

        void setAsDefault​(S storage)
        Sets the value in storage to the default value.
        Parameters:
        storage - the storage
      • setAsDefaultIfUnset

        void setAsDefaultIfUnset​(S storage)
        Sets the value in storage to the default value if there isn't already an existing value yet.
        Parameters:
        storage - the storage