Interface AbstractOption.Factory<T extends AbstractOption<T,U,V>,U extends AbstractOptionValue<U,T,V>,V>

Type Parameters:
T - the type of the option.
U - the type of the option value holder.
V - the type of the option value.
Enclosing class:
AbstractOption<T extends AbstractOption<T,U,V>,U extends AbstractOptionValue<U,T,V>,V>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface protected static interface AbstractOption.Factory<T extends AbstractOption<T,U,V>,U extends AbstractOptionValue<U,T,V>,V>
Creates a new option instance.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String name, V defaultValue, Function<V,V> validator, BiFunction<U,U,U> mergeFunction)
    Returns a newly created option with the specified properties.
  • Method Details

    • get

      T get(String name, V defaultValue, Function<V,V> validator, BiFunction<U,U,U> mergeFunction)
      Returns a newly created option with the specified properties.