Interface ConfigFunction<M extends MemberScope<?,​?>,​R>

  • Type Parameters:
    M - type of member the configuration applies to
    R - type of the configuration result
    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 ConfigFunction<M extends MemberScope<?,​?>,​R>
    Functional interface for realising one of various configurations.
    • Method Detail

      • apply

        R apply​(M member)
        Applies this function to the given arguments.
        Parameters:
        member - the member the configuration applies to
        Returns:
        the function result (may be null to indicate no specific configuration applies)