object NumericRange
A companion object for numeric ranges.
- Companion
- class
- Source
- NumericRange.scala
Type members
Classlikes
Value members
Concrete methods
Calculates the number of elements in a range given start, end, step, and whether or not it is inclusive.
Calculates the number of elements in a range given start, end, step, and whether or not it is inclusive. Throws an exception if step == 0 or the number of elements exceeds the maximum Int.
- Source
- NumericRange.scala