Interface ValueCollector<T>

  • Type Parameters:
    T - type of the collected value
    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 ValueCollector<T>
    Enables collecting values extracted in a ValueExtractor
    • Method Detail

      • addObject

        void addObject​(T value)
        Collects a value passed as an argument
        Parameters:
        value - value to be collected