Class CollectionDataKey<T>

  • All Implemented Interfaces:
    MutableDataValueSetter<java.util.Collection<T>>

    public class CollectionDataKey<T>
    extends DataKey<java.util.Collection<T>>
    • Constructor Detail

      • CollectionDataKey

        public CollectionDataKey​(@NotNull
                                 java.lang.String name,
                                 @NotNull
                                 java.util.Collection<T> defaultValue,
                                 DataNotNullValueFactory<java.util.Collection<T>> factory)
        Creates a DataKey with a computed default value dynamically.
        Parameters:
        name - See DataKeyBase.getName().
        defaultValue - default value for collection key
        factory - data value factory for creating a new default value for the key