接口 WindowRange

    • 方法详细资料

      • check

        default void check()
        Verify that the parameters are valid
      • isFixedStartIndex

        default boolean isFixedStartIndex()
        is the start boundary fixed
      • isFixedEndIndex

        default boolean isFixedEndIndex()
        is the end boundary fixed
      • getStartIndex

        <T> Integer getStartIndex​(Integer currentRowIndex,
                                  List<T> windowList)
        get the window sliding start boundary
        参数:
        currentRowIndex - the current row index
        windowList - the current window data
      • getEndIndex

        <T> Integer getEndIndex​(Integer currentRowIndex,
                                List<T> windowList)
        get the window sliding end boundary
        参数:
        currentRowIndex - the current row index
        windowList - the current window data
      • eq

        default boolean eq​(Object obj)