类 BeforeRange
- java.lang.Object
-
- io.github.burukeyou.dataframe.iframe.window.round.BeforeRange
-
- 所有已实现的接口:
WindowRange
public class BeforeRange extends Object implements WindowRange
The first n rows of the current row- 作者:
- caizhihao
-
-
字段概要
字段 修饰符和类型 字段 说明 protected intn
-
构造器概要
构造器 构造器 说明 BeforeRange()BeforeRange(int n)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidcheck()Verify that the parameters are valid<T> IntegergetEndIndex(Integer currentRowIndex, List<T> windowList)get the window sliding end boundary<T> IntegergetStartIndex(Integer currentRowIndex, List<T> windowList)get the window sliding start boundary-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 io.github.burukeyou.dataframe.iframe.window.round.WindowRange
eq, isFixedEndIndex, isFixedStartIndex
-
-
-
-
方法详细资料
-
check
public void check()
从接口复制的说明:WindowRangeVerify that the parameters are valid- 指定者:
check在接口中WindowRange
-
getStartIndex
public <T> Integer getStartIndex(Integer currentRowIndex, List<T> windowList)
从接口复制的说明:WindowRangeget the window sliding start boundary- 指定者:
getStartIndex在接口中WindowRange- 参数:
currentRowIndex- the current row indexwindowList- the current window data
-
getEndIndex
public <T> Integer getEndIndex(Integer currentRowIndex, List<T> windowList)
从接口复制的说明:WindowRangeget the window sliding end boundary- 指定者:
getEndIndex在接口中WindowRange- 参数:
currentRowIndex- the current row indexwindowList- the current window data
-
-