io.github.amayaframework.options.OpenOptionSet Maven / Gradle / Ivy
The newest version!
package io.github.amayaframework.options;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
import java.util.function.Supplier;
/**
* The open implementation of an {@link OptionSet} that allows you to add and remove any keys without restrictions.
*/
public class OpenOptionSet extends AbstractOptionSet {
/**
* Constructs {@link OpenOptionSet} instance with option map, provided by given supplier.
*
* @param supplier the specified option map supplier
*/
public OpenOptionSet(Supplier