scala.collection.immutable.Range
 See theRange companion class
  object Range
 
Companion object for ranges.
Attributes
- Companion
 - class
 - Source
 - Range.scala
 - Graph
 - 
    
 - Supertypes
 - Self type
 - 
    Range.type
 
Members list
Type members
Classlikes
            object BigDecimal
           
          Attributes
- Source
 - Range.scala
 - Supertypes
 - Self type
 - 
               BigDecimal.type
 
            object BigInt
           
          Attributes
- Source
 - Range.scala
 - Supertypes
 - Self type
 - 
               BigInt.type
 
Attributes
- Source
 - Range.scala
 - 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
- Source
 - Range.scala
 - 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
 
            object Int
           
          Attributes
- Source
 - Range.scala
 - Supertypes
 - Self type
 - 
               Int.type
 
            object Long
           
          Attributes
- Source
 - Range.scala
 - Supertypes
 - Self type
 - 
               Long.type
 
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
 - Source
 - Range.scala
 
Make a range from start until end (exclusive) with step value 1.
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.
Attributes
- 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.
Attributes
- Note
 - 
               
step != 0
 - Source
 - Range.scala
 
Make an inclusive range from start to end with step value 1.
In this article