Interface KeyStrategyFunction<T,​R>

  • All Known Implementing Classes:
    KeyRandomStrategy
    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 KeyStrategyFunction<T,​R>
    描述:key 的获取策略 jdk默认实现
    Since:
    2023-04-03
    Author:
    https:www.unfbx.com
    See Also:
    Function
    • Method Detail

      • apply

        R apply​(T t)
        Applies this function to the given argument.
        Parameters:
        t - the function argument
        Returns:
        the function result