接口 RelFunction<S,​T>

  • 函数接口:
    这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

    @FunctionalInterface
    public interface RelFunction<S,​T>
    关联函数接口
    作者:
    qiuzhenhao
    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      boolean relevant​(S sourceItem, int sourceIndex, T target, int targetIndex)
      判断是否关联
    • 方法详细资料

      • relevant

        boolean relevant​(S sourceItem,
                         int sourceIndex,
                         T target,
                         int targetIndex)
        判断是否关联
        参数:
        sourceItem - 源元素
        sourceIndex - 源索引
        target - 目标数组
        targetIndex - 目标索引
        返回:
        是否关联