Scala Library
|
|
scala/collection/immutable/Range.scala
]
object
Range
extends
AnyRefMethod Summary | |
def
|
apply
(start : Int, end : Int, step : Int) : Range
Make a range from `start` until `end` (exclusive) with step value 1.
|
def
|
apply
(start : Int, end : Int) : Range with ByOne
Make an range from `start` to `end` inclusive with step value 1.
|
def
|
inclusive
(start : Int, end : Int) : Inclusive with ByOne
Make an inclusive range from start to end with step value 1.
|
def
|
inclusive
(start : Int, end : Int, step : Int) : Inclusive
Make an inclusive range from start to end with given step value.
|
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Class Summary | |
trait
|
ByOne
extends Range
|
class
|
Inclusive
(start : Int, end : Int, step : Int) extends Range
|
class
|
Partial
[T, U](f : (T) => U) extends AnyRef
|
Object Summary | |
object
|
BigDecimal
extends AnyRef
|
object
|
BigInt
extends AnyRef
|
object
|
Double
extends AnyRef
|
object
|
Int
extends AnyRef
|
object
|
Long
extends AnyRef
|
Method Details |
Scala Library
|
|