Package com.imyeyu.spring.bean
Class RequestRange
java.lang.Object
com.imyeyu.spring.bean.RequestRange
请求范围参数
- Since:
- 2025-07-14 17:09
- Author:
- 夜雨
-
Constructor Summary
ConstructorsConstructorDescriptionRequestRange(long start, long end, long total) Creates a newRequestRangeinstance. -
Method Summary
-
Constructor Details
-
RequestRange
public RequestRange() -
RequestRange
public RequestRange(long start, long end, long total) Creates a newRequestRangeinstance.- Parameters:
start- 起始值end- 结束值total- 总数据量
-
-
Method Details
-
getLength
public long getLength()获取范围长度- Returns:
- 范围长度
-
getStart
public long getStart()起始值 -
getEnd
public long getEnd()结束值 -
getTotal
public long getTotal()总数据量 -
setStart
public void setStart(long start) 起始值 -
setEnd
public void setEnd(long end) 结束值 -
setTotal
public void setTotal(long total) 总数据量 -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-