Interface KeyExtractorFunction<T>

  • Type Parameters:
    T - type of the element from which we extract the key.
    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 KeyExtractorFunction<T>
    Function to extract a key from a given object.