Interface InitialValue<K,​A>

  • Type Parameters:
    K - the aggregate key type
    A - the aggregate type
    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 InitialValue<K,​A>
    Provides the initial value of an aggregate.
    • Method Summary

      Modifier and Type Method Description
      A empty​(K key)  
    • Method Detail

      • empty

        A empty​(K key)