scala.collection.immutable.Range
See theRange companion class
object Range
Companion object for ranges.
Attributes
Members list
Type members
Classlikes
object BigDecimal
Attributes
- Supertypes
- Self type
-
BigDecimal.type
Attributes
- Supertypes
-
class Rangetrait Serializabletrait IndexedSeq[Int]trait IndexedSeq[Int]class AbstractSeq[Int]class AbstractSeq[Int]trait Puretrait Equalsclass AbstractIterable[Int]trait IterableOnce[Int]class Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Rangetrait Serializabletrait IndexedSeq[Int]trait IndexedSeq[Int]class AbstractSeq[Int]class AbstractSeq[Int]trait Puretrait Equalsclass AbstractIterable[Int]trait IterableOnce[Int]class Objecttrait Matchableclass AnyShow all
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.
Attributes
- Note
-
step != 0
Make a range from start until end (exclusive) with step value 1.
Make a range from start until end (exclusive) with step value 1.
Attributes
Counts the number of range elements. precondition: step != 0 If the size of the range exceeds Int.MaxValue, the result will be negative.
Counts the number of range elements. precondition: step != 0 If the size of the range exceeds Int.MaxValue, the result will be negative.
Attributes
Make an inclusive range from start to end with given step value.
Make an inclusive range from start to end with given step value.
Attributes
- Note
-
step != 0
In this article