object Range
Companion object for ranges.
- Companion:
- class
- Source:
- Range.scala
Type members
Value members
Concrete methods
Make a range from start
until end
(exclusive) with given step value.
Make a range from start
until end
(exclusive) with given step value.
- Note:
step != 0
- Source:
- Range.scala
Make a range from start
until end
(exclusive) with step value 1.
Make a range from start
until end
(exclusive) with step value 1.
- Source:
- Range.scala
Counts the number of range elements.
Counts the number of range elements. precondition: step != 0 If the size of the range exceeds Int.MaxValue, the result will be negative.
- Source:
- Range.scala
Make an inclusive range from start
to end
with given step value.
Make an inclusive range from start
to end
with given step value.
- Note:
step != 0
- Source:
- Range.scala
Make an inclusive range from start
to end
with step value 1.
Make an inclusive range from start
to end
with step value 1.
- Source:
- Range.scala