Packages

  • package root
    Definition Classes
    root
  • package scala
    Definition Classes
    root
  • package reflect
    Definition Classes
    scala
  • package api

    EXPERIMENTAL

    EXPERIMENTAL

    The Scala Reflection API (located in scala-reflect.jar).

    In Scala 2.10.0, the Scala Reflection API and its implementation have an "experimental" status. This means that the API and the docs are not complete and can be changed in binary- and source-incompatible manner in 2.10.1. This also means that the implementation has some known issues.

    The following types are the backbone of the Scala Reflection API, and serve as a good starting point for information about Scala Reflection:

    For more information about Scala Reflection, see the Reflection Guide

    Definition Classes
    reflect
  • trait Scopes extends AnyRef

    EXPERIMENTAL

    EXPERIMENTAL

    This trait provides support for scopes in the reflection API.

    A scope object generally maps names to symbols available in a corresponding lexical scope. Scopes can be nested. The base type exposed to the reflection API, however, only exposes a minimal interface, representing a scope as an iterable of symbols.

    For rare occasions when it is necessary to create a scope manually, e.g., to populate members of scala.reflect.api.Types#RefinedType, there is the newScopeWith function.

    Additional functionality is exposed in member scopes that are returned by members and decls defined in scala.reflect.api.Types#TypeApi. Such scopes support the sorted method, which sorts members in declaration order.

    Definition Classes
    api
  • MemberScope
  • MemberScopeApi
  • Scope
  • ScopeApi

abstract type MemberScope >: Null <: Universe.MemberScopeApi with Universe.Scope

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MemberScope
  2. <refinement>
  3. MemberScopeApi
  4. ScopeApi
  5. Iterable
  6. IterableFactoryDefaults
  7. IterableOps
  8. IterableOnceOps
  9. IterableOnce
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def iterator: collection.Iterator[A]
    Definition Classes
    IterableOnce
  2. abstract def sorted: List[Universe.Symbol]

    Sorts the symbols included in this scope so that: 1) Symbols appear in the linearization order of their owners.

    Sorts the symbols included in this scope so that: 1) Symbols appear in the linearization order of their owners. 2) Symbols with the same owner appear in same order of their declarations. 3) Synthetic members (e.g. getters/setters for vals/vars) might appear in arbitrary order.

    Definition Classes
    MemberScopeApi

Concrete Value Members

  1. final def ++[B >: A](suffix: collection.IterableOnce[B]): CC[B]
    Definition Classes
    IterableOps
    Annotations
    @inline()
  2. final def addString(b: collection.mutable.StringBuilder): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  3. final def addString(b: collection.mutable.StringBuilder, sep: String): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  4. def addString(b: collection.mutable.StringBuilder, start: String, sep: String, end: String): b.type
    Definition Classes
    IterableOnceOps
  5. def collect[B](pf: PartialFunction[A, B]): CC[B]
    Definition Classes
    IterableOps → IterableOnceOps
  6. def collectFirst[B](pf: PartialFunction[A, B]): Option[B]
    Definition Classes
    IterableOnceOps
  7. def concat[B >: A](suffix: collection.IterableOnce[B]): CC[B]
    Definition Classes
    IterableOps
  8. def copyToArray[B >: A](xs: Array[B], start: Int, len: Int): Int
    Definition Classes
    IterableOnceOps
  9. def copyToArray[B >: A](xs: Array[B], start: Int): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  10. def copyToArray[B >: A](xs: Array[B]): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  11. def corresponds[B](that: collection.IterableOnce[B])(p: (A, B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  12. def count(p: (A) => Boolean): Int
    Definition Classes
    IterableOnceOps
  13. def drop(n: Int): C
    Definition Classes
    IterableOps → IterableOnceOps
  14. def dropRight(n: Int): C
    Definition Classes
    IterableOps
  15. def dropWhile(p: (A) => Boolean): C
    Definition Classes
    IterableOps → IterableOnceOps
  16. def empty: CC[A @scala.annotation.unchecked.uncheckedVariance]
    Definition Classes
    IterableFactoryDefaults → IterableOps
  17. def exists(p: (A) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  18. def filter(pred: (A) => Boolean): C
    Definition Classes
    IterableOps → IterableOnceOps
  19. def filterNot(pred: (A) => Boolean): C
    Definition Classes
    IterableOps → IterableOnceOps
  20. def find(p: (A) => Boolean): Option[A]
    Definition Classes
    IterableOnceOps
  21. def flatMap[B](f: (A) => collection.IterableOnce[B]): CC[B]
    Definition Classes
    IterableOps → IterableOnceOps
  22. def flatten[B](implicit asIterable: (A) => collection.IterableOnce[B]): CC[B]
    Definition Classes
    IterableOps → IterableOnceOps
  23. def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  24. def foldLeft[B](z: B)(op: (B, A) => B): B
    Definition Classes
    IterableOnceOps
  25. def foldRight[B](z: B)(op: (A, B) => B): B
    Definition Classes
    IterableOnceOps
  26. def forall(p: (A) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  27. def foreach[U](f: (A) => U): Unit
    Definition Classes
    IterableOnceOps
  28. def groupBy[K](f: (A) => K): Map[K, C]
    Definition Classes
    IterableOps
  29. def groupMap[K, B](key: (A) => K)(f: (A) => B): Map[K, CC[B]]
    Definition Classes
    IterableOps
  30. def groupMapReduce[K, B](key: (A) => K)(f: (A) => B)(reduce: (B, B) => B): Map[K, B]
    Definition Classes
    IterableOps
  31. def grouped(size: Int): collection.Iterator[C]
    Definition Classes
    IterableOps
  32. def head: A
    Definition Classes
    IterableOps
  33. def headOption: Option[A]
    Definition Classes
    IterableOps
  34. def init: C
    Definition Classes
    IterableOps
  35. def inits: collection.Iterator[C]
    Definition Classes
    IterableOps
  36. def isEmpty: Boolean
    Definition Classes
    IterableOnceOps
  37. def isTraversableAgain: Boolean
    Definition Classes
    IterableOps → IterableOnceOps
  38. def iterableFactory: IterableFactory[collection.Iterable]
    Definition Classes
    Iterable → IterableOps
  39. def knownSize: Int
    Definition Classes
    IterableOnce
  40. def last: A
    Definition Classes
    IterableOps
  41. def lastOption: Option[A]
    Definition Classes
    IterableOps
  42. def lazyZip[B](that: collection.Iterable[B]): LazyZip2[A, B, collection.Iterable.this.type]
    Definition Classes
    Iterable
  43. def map[B](f: (A) => B): CC[B]
    Definition Classes
    IterableOps → IterableOnceOps
  44. def max[B >: A](implicit ord: math.Ordering[B]): A
    Definition Classes
    IterableOnceOps
  45. def maxBy[B](f: (A) => B)(implicit ord: math.Ordering[B]): A
    Definition Classes
    IterableOnceOps
  46. def maxByOption[B](f: (A) => B)(implicit ord: math.Ordering[B]): Option[A]
    Definition Classes
    IterableOnceOps
  47. def maxOption[B >: A](implicit ord: math.Ordering[B]): Option[A]
    Definition Classes
    IterableOnceOps
  48. def min[B >: A](implicit ord: math.Ordering[B]): A
    Definition Classes
    IterableOnceOps
  49. def minBy[B](f: (A) => B)(implicit ord: math.Ordering[B]): A
    Definition Classes
    IterableOnceOps
  50. def minByOption[B](f: (A) => B)(implicit ord: math.Ordering[B]): Option[A]
    Definition Classes
    IterableOnceOps
  51. def minOption[B >: A](implicit ord: math.Ordering[B]): Option[A]
    Definition Classes
    IterableOnceOps
  52. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  53. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  54. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  55. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  56. def partition(p: (A) => Boolean): (C, C)
    Definition Classes
    IterableOps
  57. def partitionMap[A1, A2](f: (A) => Either[A1, A2]): (CC[A1], CC[A2])
    Definition Classes
    IterableOps
  58. def product[B >: A](implicit num: math.Numeric[B]): B
    Definition Classes
    IterableOnceOps
  59. def reduce[B >: A](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  60. def reduceLeft[B >: A](op: (B, A) => B): B
    Definition Classes
    IterableOnceOps
  61. def reduceLeftOption[B >: A](op: (B, A) => B): Option[B]
    Definition Classes
    IterableOnceOps
  62. def reduceOption[B >: A](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  63. def reduceRight[B >: A](op: (A, B) => B): B
    Definition Classes
    IterableOnceOps
  64. def reduceRightOption[B >: A](op: (A, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  65. def scan[B >: A](z: B)(op: (B, B) => B): CC[B]
    Definition Classes
    IterableOps
  66. def scanLeft[B](z: B)(op: (B, A) => B): CC[B]
    Definition Classes
    IterableOps → IterableOnceOps
  67. def scanRight[B](z: B)(op: (A, B) => B): CC[B]
    Definition Classes
    IterableOps
  68. def size: Int
    Definition Classes
    IterableOnceOps
  69. def sizeCompare(that: collection.Iterable[_]): Int
    Definition Classes
    IterableOps
  70. def sizeCompare(otherSize: Int): Int
    Definition Classes
    IterableOps
  71. final def sizeIs: SizeCompareOps
    Definition Classes
    IterableOps
    Annotations
    @inline()
  72. def slice(from: Int, until: Int): C
    Definition Classes
    IterableOps → IterableOnceOps
  73. def sliding(size: Int, step: Int): collection.Iterator[C]
    Definition Classes
    IterableOps
  74. def sliding(size: Int): collection.Iterator[C]
    Definition Classes
    IterableOps
  75. def span(p: (A) => Boolean): (C, C)
    Definition Classes
    IterableOps → IterableOnceOps
  76. def splitAt(n: Int): (C, C)
    Definition Classes
    IterableOps → IterableOnceOps
  77. def stepper[S <: Stepper[_]](implicit shape: StepperShape[A, S]): S
    Definition Classes
    IterableOnce
  78. def sum[B >: A](implicit num: math.Numeric[B]): B
    Definition Classes
    IterableOnceOps
  79. def tail: C
    Definition Classes
    IterableOps
  80. def tails: collection.Iterator[C]
    Definition Classes
    IterableOps
  81. def take(n: Int): C
    Definition Classes
    IterableOps → IterableOnceOps
  82. def takeRight(n: Int): C
    Definition Classes
    IterableOps
  83. def takeWhile(p: (A) => Boolean): C
    Definition Classes
    IterableOps → IterableOnceOps
  84. def tapEach[U](f: (A) => U): C
    Definition Classes
    IterableOps → IterableOnceOps
  85. def to[C1](factory: Factory[A, C1]): C1
    Definition Classes
    IterableOnceOps
  86. def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    IterableOnceOps
  87. final def toBuffer[B >: A]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  88. def toIndexedSeq: collection.immutable.IndexedSeq[A]
    Definition Classes
    IterableOnceOps
  89. def toList: collection.immutable.List[A]
    Definition Classes
    IterableOnceOps
  90. def toMap[K, V](implicit ev: <:<[A, (K, V)]): Map[K, V]
    Definition Classes
    IterableOnceOps
  91. def toSeq: collection.immutable.Seq[A]
    Definition Classes
    IterableOnceOps
  92. def toSet[B >: A]: Set[B]
    Definition Classes
    IterableOnceOps
  93. def toString(): String
    Definition Classes
    Iterable → AnyRef → Any
  94. def toVector: collection.immutable.Vector[A]
    Definition Classes
    IterableOnceOps
  95. def transpose[B](implicit asIterable: (A) => collection.Iterable[B]): CC[CC[B] @scala.annotation.unchecked.uncheckedVariance]
    Definition Classes
    IterableOps
  96. def unzip[A1, A2](implicit asPair: (A) => (A1, A2)): (CC[A1], CC[A2])
    Definition Classes
    IterableOps
  97. def unzip3[A1, A2, A3](implicit asTriple: (A) => (A1, A2, A3)): (CC[A1], CC[A2], CC[A3])
    Definition Classes
    IterableOps
  98. def view: View[A]
    Definition Classes
    IterableOps
  99. def withFilter(p: (A) => Boolean): WithFilter[A, CC]
    Definition Classes
    IterableOps
  100. def zip[B](that: collection.IterableOnce[B]): CC[(A @scala.annotation.unchecked.uncheckedVariance, B)]
    Definition Classes
    IterableOps
  101. def zipAll[A1 >: A, B](that: collection.Iterable[B], thisElem: A1, thatElem: B): CC[(A1, B)]
    Definition Classes
    IterableOps
  102. def zipWithIndex: CC[(A @scala.annotation.unchecked.uncheckedVariance, Int)]
    Definition Classes
    IterableOps → IterableOnceOps

Deprecated Value Members

  1. def ++:[B >: A](that: collection.IterableOnce[B]): CC[B]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable

  2. final def /:[B](z: B)(op: (B, A) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldLeft instead of /:

  3. final def :\[B](z: B)(op: (A, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldRight instead of :\

  4. def aggregate[B](z: => B)(seqop: (B, A) => B, combop: (B, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) aggregate is not relevant for sequential collections. Use foldLeft(z)(seqop) instead.

  5. def companion: IterableFactory[CC]
    Definition Classes
    IterableOps
    Annotations
    @deprecated @deprecatedOverriding() @inline()
    Deprecated

    (Since version 2.13.0) Use iterableFactory instead

  6. final def copyToBuffer[B >: A](dest: Buffer[B]): Unit
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use dest ++= coll instead

  7. def hasDefiniteSize: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)

  8. final def repr: C
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside

  9. def seq: collection.Iterable.this.type
    Definition Classes
    Iterable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Iterable.seq always returns the iterable itself

  10. final def toIterable: collection.Iterable.this.type
    Definition Classes
    Iterable → IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.7) toIterable is internal and will be made protected; its name is similar to toList or toSeq, but it doesn't copy non-immutable collections

  11. final def toIterator: collection.Iterator[A]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator instead of .toIterator

  12. final def toStream: collection.immutable.Stream[A]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .to(LazyList) instead of .toStream

  13. final def toTraversable: collection.Traversable[A]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) toTraversable is internal and will be made protected; its name is similar to toList or toSeq, but it doesn't copy non-immutable collections

  14. def view(from: Int, until: Int): View[A]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)