Interface AnnotatedTypeScanner.Reduce<R>

  • Type Parameters:
    R - the result type
    Enclosing class:
    AnnotatedTypeScanner<R,​P>
    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 static interface AnnotatedTypeScanner.Reduce<R>
    Reduces two results into a single result.
    • Method Detail

      • reduce

        R reduce​(R r1,
                 R r2)
        Returns the combination of two results.
        Parameters:
        r1 - the first result
        r2 - the second result
        Returns:
        the combination of the two results