Interface StatefulAggregate<R,T>


public interface StatefulAggregate<R,T>
  • Method Details

    • add

      void add(T value)
    • remove

      void remove(T value)
    • getResult

      @NotNull R getResult()
    • isEmpty

      boolean isEmpty()
    • deepCopy

      StatefulAggregate<R,T> deepCopy()
    • contains

      default boolean contains(T value)