Showing content from http://www.scala-lang.org/api/2.12.15/scala/collection/immutable/Range.html below:
Scala Standard Library 2.12.15 - scala.collection.immutable.Range
sealed class Range extends AbstractSeq[Int] with IndexedSeq[Int] with CustomParallelizable[Int, ParRange] with Serializable
î· î
Ordering
- Alphabetic
- By Inheritance
Inherited
- Range
- Serializable
- Serializable
- CustomParallelizable
- IndexedSeq
- IndexedSeq
- IndexedSeqLike
- Seq
- Iterable
- Traversable
- Immutable
- AbstractSeq
- Seq
- SeqLike
- GenSeq
- GenSeqLike
- PartialFunction
- Function1
- AbstractIterable
- Iterable
- IterableLike
- Equals
- GenIterable
- GenIterableLike
- AbstractTraversable
- Traversable
- GenTraversable
- GenericTraversableTemplate
- TraversableLike
- GenTraversableLike
- Parallelizable
- TraversableOnce
- GenTraversableOnce
- FilterMonadic
- HasNewBuilder
- AnyRef
- Any
Implicitly
- by CollectionsHaveToParArray
- by MonadOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- by alternateImplicit
Instance Constructors
- î
new Range(start: Int, end: Int, step: Int)
Value Members
- î
final def !=(arg0: Any): Boolean
- î
final def ##(): Int
- î
def +(other: String): String
- î
def ++[B >: Int, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[IndexedSeq[Int], B, That]): That
- î
def ++:[B >: Int, That](that: collection.Traversable[B])(implicit bf: CanBuildFrom[IndexedSeq[Int], B, That]): That
- î
def ++:[B](that: TraversableOnce[B]): IndexedSeq[B]
- î
def +:(elem: A): IndexedSeq[A]
- î
def ->[B](y: B): (Range, B)
- î
def :+(elem: A): IndexedSeq[A]
- î
final def ==(arg0: Any): Boolean
- î
def addString(b: StringBuilder): StringBuilder
- î
def addString(b: StringBuilder, sep: String): StringBuilder
- î
def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
- î
def aggregate[B](z: â B)(seqop: (B, Int) â B, combop: (B, B) â B): B
- î
def andThen[C](k: (Int) â C): PartialFunction[Int, C]
- î
final def apply(idx: Int): Int
- î
def applyOrElse[A1 <: Int, B1 >: Int](x: A1, default: (A1) â B1): B1
- î
final def asInstanceOf[T0]: T0
- î
def by(step: Int): Range
- î
def canEqual(that: Any): Boolean
- î
def clone(): AnyRef
- î
def collect[B](pf: PartialFunction[A, B]): IndexedSeq[B]
- î
def collectFirst[B](pf: PartialFunction[Int, B]): Option[B]
- î
def combinations(n: Int): Iterator[IndexedSeq[Int]]
- î
def companion: GenericCompanion[IndexedSeq]
- î
def compose[A](g: (A) â Int): (A) â Int
- î
final def contains(x: Int): Boolean
- î
def contains[A1 >: Int](elem: A1): Boolean
- î
def containsSlice[B](that: GenSeq[B]): Boolean
- î
def copy(start: Int, end: Int, step: Int): Range
- î
def copyToArray(xs: Array[A], start: Int, len: Int): Unit
- î
def copyToArray(xs: Array[A]): Unit
- î
def copyToArray(xs: Array[A], start: Int): Unit
- î
def copyToBuffer[B >: Int](dest: Buffer[B]): Unit
- î
def corresponds[B](that: GenSeq[B])(p: (Int, B) â Boolean): Boolean
- î
def count(p: (Int) â Boolean): Int
- î
def diff(that: collection.Seq[Int]): IndexedSeq[Int]
- î
def distinct: IndexedSeq[Int]
- î
final def drop(n: Int): Range
- î
final def dropRight(n: Int): Range
- î
final def dropWhile(p: (Int) â Boolean): Range
- î
val end: Int
- î
def endsWith[B](that: GenSeq[B]): Boolean
- î
def ensuring(cond: (Range) â Boolean, msg: â Any): Range
- î
def ensuring(cond: (Range) â Boolean): Range
- î
def ensuring(cond: Boolean, msg: â Any): Range
- î
def ensuring(cond: Boolean): Range
- î
final def eq(arg0: AnyRef): Boolean
- î
def equals(other: Any): Boolean
- î
def exists(p: (Int) â Boolean): Boolean
- î
def filter(p: (Int) â Boolean): IndexedSeq[Int]
- î
def filterNot(p: (Int) â Boolean): IndexedSeq[Int]
- î
def finalize(): Unit
- î
def find(p: (Int) â Boolean): Option[Int]
- î
def flatMap[B](f: (A) â GenTraversableOnce[B]): IndexedSeq[B]
- î
def flatten[B]: IndexedSeq[B]
- î
def fold[A1 >: Int](z: A1)(op: (A1, A1) â A1): A1
- î
def foldLeft[B](z: B)(op: (B, Int) â B): B
- î
def foldRight[B](z: B)(op: (Int, B) â B): B
- î
def forall(p: (Int) â Boolean): Boolean
- î
final def foreach(f: (A) â Unit): Unit
- î
def formatted(fmtstr: String): String
- î
def genericBuilder[B]: Builder[B, IndexedSeq[B]]
- î
final def getClass(): Class[_]
- î
def groupBy[K](f: (Int) â K): Map[K, IndexedSeq[Int]]
- î
def grouped(size: Int): Iterator[IndexedSeq[Int]]
- î
def hasDefiniteSize: Boolean
- î
def hashCode(): Int
- î
def head: Int
- î
def headOption: Option[Int]
- î
def inclusive: Range
- î
def indexOf(elem: Int, from: Int): Int
- î
def indexOf(elem: Int): Int
- î
def indexOfSlice[B >: Int](that: GenSeq[B], from: Int): Int
- î
def indexOfSlice[B >: Int](that: GenSeq[B]): Int
- î
def indexWhere(p: (Int) â Boolean, from: Int): Int
- î
def indexWhere(p: (Int) â Boolean): Int
- î
def indices: Range
- î
final def init: Range
- î
def inits: Iterator[IndexedSeq[Int]]
- î
def intersect(that: collection.Seq[Int]): IndexedSeq[Int]
- î
def isDefinedAt(idx: Int): Boolean
- î
final val isEmpty: Boolean
- î
def isInclusive: Boolean
- î
final def isInstanceOf[T0]: Boolean
- î
final def isTraversableAgain: Boolean
- î
def iterator: Iterator[Int]
- î
def last: Int
- î
def lastIndexOf(elem: Int, end: Int): Int
- î
def lastIndexOf(elem: Int): Int
- î
def lastIndexOfSlice[B >: Int](that: GenSeq[B], end: Int): Int
- î
def lastIndexOfSlice[B >: Int](that: GenSeq[B]): Int
- î
def lastIndexWhere(p: (Int) â Boolean, end: Int): Int
- î
def lastIndexWhere(p: (Int) â Boolean): Int
- î
def lastOption: Option[Int]
- î
def length: Int
- î
def lengthCompare(len: Int): Int
- î
def lift: (Int) â Option[Int]
- î
def map[B](f: (A) â B): IndexedSeq[B]
- î
def max: A
- î
def maxBy[B](f: (A) â B): A
- î
def min: A
- î
def minBy[B](f: (A) â B): A
- î
def mkString: String
- î
def mkString(sep: String): String
- î
def mkString(start: String, sep: String, end: String): String
- î
final def ne(arg0: AnyRef): Boolean
- î
def newBuilder: Builder[Int, IndexedSeq[Int]]
- î
def nonEmpty: Boolean
- î
final def notify(): Unit
- î
final def notifyAll(): Unit
- î
def orElse[A1 <: Int, B1 >: Int](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
- î
def padTo(len: Int, elem: A): IndexedSeq[A]
- î
def par: ParRange
- î
def parCombiner: Combiner[Int, ParRange]
- î
def partition(p: (Int) â Boolean): (IndexedSeq[Int], IndexedSeq[Int])
- î
def patch(from: Int, that: GenSeq[A], replaced: Int): IndexedSeq[A]
- î
def permutations: Iterator[IndexedSeq[Int]]
- î
def prefixLength(p: (Int) â Boolean): Int
- î
def product: A
- î
def reduce[A1 >: Int](op: (A1, A1) â A1): A1
- î
def reduceLeft[B >: Int](op: (B, Int) â B): B
- î
def reduceLeftOption[B >: Int](op: (B, Int) â B): Option[B]
- î
def reduceOption[A1 >: Int](op: (A1, A1) â A1): Option[A1]
- î
def reduceRight[B >: Int](op: (Int, B) â B): B
- î
def reduceRightOption[B >: Int](op: (Int, B) â B): Option[B]
- î
def repr: IndexedSeq[Int]
- î
final def reverse: Range
- î
def reverseIterator: Iterator[Int]
- î
def reverseMap[B](f: (A) â B): IndexedSeq[B]
- î
def reversed: scala.List[Int]
- î
def runWith[U](action: (Int) â U): (Int) â Boolean
- î
def sameElements(that: GenIterable[A]): Boolean
- î
def scan[B >: Int, That](z: B)(op: (B, B) â B)(implicit cbf: CanBuildFrom[IndexedSeq[Int], B, That]): That
- î
def scanLeft[B, That](z: B)(op: (B, Int) â B)(implicit bf: CanBuildFrom[IndexedSeq[Int], B, That]): That
- î
def scanRight[B, That](z: B)(op: (Int, B) â B)(implicit bf: CanBuildFrom[IndexedSeq[Int], B, That]): That
- î
def segmentLength(p: (Int) â Boolean, from: Int): Int
- î
def seq: IndexedSeq[Int]
- î
def size: Int
- î
def sizeHintIfCheap: Int
- î
def slice(from: Int, until: Int): Range
- î
def sliding(size: Int, step: Int): Iterator[IndexedSeq[Int]]
- î
def sliding(size: Int): Iterator[IndexedSeq[Int]]
- î
def sortBy[B](f: (Int) â B)(implicit ord: math.Ordering[B]): IndexedSeq[Int]
- î
def sortWith(lt: (Int, Int) â Boolean): IndexedSeq[Int]
- î
def sorted[B >: Int](implicit ord: math.Ordering[B]): IndexedSeq[Int]
- î
final def span(p: (Int) â Boolean): (Range, Range)
- î
final def splitAt(n: Int): (Range, Range)
- î
val start: Int
- î
def startsWith[B](that: GenSeq[B], offset: Int): Boolean
- î
def startsWith[B](that: GenSeq[B]): Boolean
- î
val step: Int
- î
def stringPrefix: String
- î
final def sum: A
- î
final def synchronized[T0](arg0: â T0): T0
- î
final def tail: Range
- î
def tails: Iterator[IndexedSeq[Int]]
- î
final def take(n: Int): Range
- î
final def takeRight(n: Int): Range
- î
final def takeWhile(p: (Int) â Boolean): Range
- î
def thisCollection: collection.IndexedSeq[Int]
- î
def to[Col[_]]: Col[A]
- î
def toArray: Array[A]
- î
def toBuffer[A1 >: Int]: Buffer[A1]
- î
def toCollection(repr: IndexedSeq[Int]): collection.IndexedSeq[Int]
- î
def toIndexedSeq: IndexedSeq[Int]
- î
def toIterable: Range
- î
def toIterator: Iterator[Int]
- î
def toList: scala.List[Int]
- î
def toMap[T, U]: collection.Map[T, U]
- î
def toParArray: ParArray[T]
- î
def toSeq: Range
- î
def toSet[B >: Int]: Set[B]
- î
def toStream: Stream[Int]
- î
def toString(): String
- î
def toTraversable: collection.Traversable[Int]
- î
def toVector: scala.Vector[Int]
- î
def transpose[B](implicit asTraversable: (Int) â GenTraversableOnce[B]): IndexedSeq[IndexedSeq[B]]
- î
def union(that: collection.Seq[Int]): IndexedSeq[Int]
- î
def unzip[A1, A2](implicit asPair: (Int) â (A1, A2)): (IndexedSeq[A1], IndexedSeq[A2])
- î
def unzip3[A1, A2, A3](implicit asTriple: (Int) â (A1, A2, A3)): (IndexedSeq[A1], IndexedSeq[A2], IndexedSeq[A3])
- î
def updated(index: Int, elem: A): IndexedSeq[A]
- î
def view(from: Int, until: Int): SeqView[Int, IndexedSeq[Int]]
- î
def view: SeqView[Int, IndexedSeq[Int]]
- î
final def wait(): Unit
- î
final def wait(arg0: Long, arg1: Int): Unit
- î
final def wait(arg0: Long): Unit
- î
def withFilter(p: (Int) â Boolean): FilterMonadic[Int, IndexedSeq[Int]]
- î
def zip[B](that: GenIterable[B]): IndexedSeq[(A, B)]
- î
def zipAll[B](that: collection.Iterable[B], thisElem: A, thatElem: B): IndexedSeq[(A, B)]
- î
def zipWithIndex: IndexedSeq[(A, Int)]
- î
def â[B](y: B): (Range, B)
Deprecated Value Members
- î
def /:[B](z: B)(op: (B, Int) â B): B
- î
def :\[B](z: B)(op: (Int, B) â B): B
Inherited from java.io.Serializable
Inherited from HasNewBuilder[Int, scala.collection.immutable.IndexedSeq[Int] @scala.annotation.unchecked.uncheckedVariance]
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4