scala.Range

class Inclusive

[source: scala/Range.scala]

class Inclusive(start : Int, end : Int, step : Int)
extends Range
Values and Variables inherited from Range
length
Method Summary
override def apply (idx : Int) : Int
override def by (step : Int) : Range
Create a new range with the start and end values of this range and a new step.
protected override def last (base : Int, step : Int) : Int
Methods inherited from Range
contains, inclusive
Methods inherited from Projection
projection, force, map, append
Methods inherited from RandomAccessSeq
elements, drop, take, slice, reverse, patch, ++, toStream, safeIs
Methods inherited from Projection
flatMap, takeWhile, filter
Methods inherited from Seq
lengthCompare, size, isEmpty, concat, last, lastOption, first, firstOption, headOption, isDefinedAt, lastIndexOf, slice, dropWhile, contains, subseq, toArray, toSeq, equalsWith, startsWith, endsWith, indexOf, containsSlice
Methods inherited from Collection
toString, stringPrefix
Methods inherited from Iterable
partition, foreach, forall, exists, find, findIndexOf, indexOf, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, toList, mkString, mkString, mkString, addString, addString, copyToArray, hasDefiniteSize
Methods inherited from PartialFunction
orElse, andThen
Methods inherited from Function1
compose
Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
override def apply(idx : Int) : Int
Overrides
Range.apply

protected override def last(base : Int, step : Int) : Int
Overrides
Range.last

override def by(step : Int) : Range
Create a new range with the start and end values of this range and a new step.
Overrides
Range.by