The Random\IntervalBoundary Enum
简介
The Random\IntervalBoundary enum specifies whether an interval includes the boundary values within the set of values lying in the interval.
注解摘要
case ClosedOpen
;
/** A left-open interval. The lower boundary is included in the interval, the upper boundary is not. */
/** A left-open interval. The lower boundary is included in the interval, the upper boundary is not. */
case ClosedClosed
;
/** A closed interval. Both boundary values are included in the interval. */
/** A closed interval. Both boundary values are included in the interval. */
case OpenClosed
;
/** A right-open interval. The upper boundary is included in the interval, the lower boundary is not. */
/** A right-open interval. The upper boundary is included in the interval, the lower boundary is not. */
case OpenOpen
;
/** An open interval. Neither boundary value is included in the interval. */
}/** An open interval. Neither boundary value is included in the interval. */
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/enum.random-intervalboundary.php