Interface IValueCreator<V>

  • Type Parameters:
    V - Type of the Java object representing the value.
    All Superinterfaces:
    Consumer<IValueBuilder<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
    public interface IValueCreator<V>
    extends Consumer<IValueBuilder<V>>
    A consumer that is passed a value builder and may call its methods to adjust the value created by the builder. Note that is not a supplier to ensure the created value does conform to the restrictions imposed by the value builder -- otherwise implementations could just return any value.
    Since:
    7.0.0
    Author:
    XIMA MEDIA GmbH