scala.runtime

Members list

Concise view

Type members

Classlikes

abstract class AbstractFunction0[+R] extends () => R

Attributes

Source:
AbstractFunction0.scala
Graph
Supertypes
trait () => R
class Object
trait Matchable
class Any
abstract class AbstractFunction1[-T1, +R] extends T1 => R

Attributes

Source:
AbstractFunction1.scala
Graph
Supertypes
trait T1 => R
class Object
trait Matchable
class Any
abstract class AbstractFunction10[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, +R] extends (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) => R

Attributes

Source:
AbstractFunction10.scala
Graph
Supertypes
trait (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) => R
class Object
trait Matchable
class Any
abstract class AbstractFunction11[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, +R] extends (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) => R

Attributes

Source:
AbstractFunction11.scala
Graph
Supertypes
trait (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) => R
class Object
trait Matchable
class Any
abstract class AbstractFunction12[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, +R] extends (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) => R

Attributes

Source:
AbstractFunction12.scala
Graph
Supertypes
trait (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) => R
class Object
trait Matchable
class Any
abstract class AbstractFunction13[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, +R] extends (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) => R

Attributes

Source:
AbstractFunction13.scala
Graph
Supertypes
trait (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) => R
class Object
trait Matchable
class Any
abstract class AbstractFunction14[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, +R] extends (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) => R

Attributes

Source:
AbstractFunction14.scala
Graph
Supertypes
trait (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) => R
class Object
trait Matchable
class Any
abstract class AbstractFunction15[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, +R] extends (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) => R

Attributes

Source:
AbstractFunction15.scala
Graph
Supertypes
trait (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) => R
class Object
trait Matchable
class Any
abstract class AbstractFunction16[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, +R] extends (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) => R

Attributes

Source:
AbstractFunction16.scala
Graph
Supertypes
trait (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) => R
class Object
trait Matchable
class Any
abstract class AbstractFunction17[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, +R] extends (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) => R

Attributes

Source:
AbstractFunction17.scala
Graph
Supertypes
trait (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) => R
class Object
trait Matchable
class Any
abstract class AbstractFunction18[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, +R] extends (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) => R

Attributes

Source:
AbstractFunction18.scala
Graph
Supertypes
trait (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) => R
class Object
trait Matchable
class Any
abstract class AbstractFunction19[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, -T19, +R] extends (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) => R

Attributes

Source:
AbstractFunction19.scala
Graph
Supertypes
trait (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) => R
class Object
trait Matchable
class Any
abstract class AbstractFunction2[-T1, -T2, +R] extends (T1, T2) => R

Attributes

Source:
AbstractFunction2.scala
Graph
Supertypes
trait (T1, T2) => R
class Object
trait Matchable
class Any
abstract class AbstractFunction20[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, -T19, -T20, +R] extends (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20) => R

Attributes

Source:
AbstractFunction20.scala
Graph
Supertypes
trait (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20) => R
class Object
trait Matchable
class Any
abstract class AbstractFunction21[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, -T19, -T20, -T21, +R] extends (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21) => R

Attributes

Source:
AbstractFunction21.scala
Graph
Supertypes
trait (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21) => R
class Object
trait Matchable
class Any
abstract class AbstractFunction22[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, -T19, -T20, -T21, -T22, +R] extends (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22) => R

Attributes

Source:
AbstractFunction22.scala
Graph
Supertypes
trait (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22) => R
class Object
trait Matchable
class Any
abstract class AbstractFunction3[-T1, -T2, -T3, +R] extends (T1, T2, T3) => R

Attributes

Source:
AbstractFunction3.scala
Graph
Supertypes
trait (T1, T2, T3) => R
class Object
trait Matchable
class Any
abstract class AbstractFunction4[-T1, -T2, -T3, -T4, +R] extends (T1, T2, T3, T4) => R

Attributes

Source:
AbstractFunction4.scala
Graph
Supertypes
trait (T1, T2, T3, T4) => R
class Object
trait Matchable
class Any
abstract class AbstractFunction5[-T1, -T2, -T3, -T4, -T5, +R] extends (T1, T2, T3, T4, T5) => R

Attributes

Source:
AbstractFunction5.scala
Graph
Supertypes
trait (T1, T2, T3, T4, T5) => R
class Object
trait Matchable
class Any
abstract class AbstractFunction6[-T1, -T2, -T3, -T4, -T5, -T6, +R] extends (T1, T2, T3, T4, T5, T6) => R

Attributes

Source:
AbstractFunction6.scala
Graph
Supertypes
trait (T1, T2, T3, T4, T5, T6) => R
class Object
trait Matchable
class Any
abstract class AbstractFunction7[-T1, -T2, -T3, -T4, -T5, -T6, -T7, +R] extends (T1, T2, T3, T4, T5, T6, T7) => R

Attributes

Source:
AbstractFunction7.scala
Graph
Supertypes
trait (T1, T2, T3, T4, T5, T6, T7) => R
class Object
trait Matchable
class Any
abstract class AbstractFunction8[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, +R] extends (T1, T2, T3, T4, T5, T6, T7, T8) => R

Attributes

Source:
AbstractFunction8.scala
Graph
Supertypes
trait (T1, T2, T3, T4, T5, T6, T7, T8) => R
class Object
trait Matchable
class Any
abstract class AbstractFunction9[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, +R] extends (T1, T2, T3, T4, T5, T6, T7, T8, T9) => R

Attributes

Source:
AbstractFunction9.scala
Graph
Supertypes
trait (T1, T2, T3, T4, T5, T6, T7, T8, T9) => R
class Object
trait Matchable
class Any
abstract class AbstractPartialFunction[-T1, +R] extends T1 => R with PartialFunction[T1, R]

AbstractPartialFunction reformulates all operations of its supertrait PartialFunction in terms of isDefinedAt and applyOrElse.

AbstractPartialFunction reformulates all operations of its supertrait PartialFunction in terms of isDefinedAt and applyOrElse.

This allows more efficient implementations in many cases: - optimized orElse method supports chained orElse in linear time, and with no slow-down if the orElse part is not needed. - optimized lift method helps to avoid double evaluation of pattern matchers & guards of partial function literals.

This trait is used as a basis for implementation of all partial function literals.

Attributes

Source:
AbstractPartialFunction.scala
Graph
Supertypes
trait PartialFunction[T1, R]
trait T1 => R
class Object
trait Matchable
class Any
Self type
final class ArrayCharSequence(val xs: Array[Char], start: Int, end: Int) extends CharSequence

Attributes

Source:
ArrayCharSequence.scala
Graph
Supertypes
class Object
trait Matchable
class Any
object Arrays

All but the first two operations should be short-circuited and implemented specially by the backend.

All but the first two operations should be short-circuited and implemented specially by the backend.

Attributes

Source:
Arrays.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Arrays.type
trait EnumValue extends Product with Serializable

Attributes

Source:
EnumValue.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
trait FractionalProxy[T] extends ScalaNumberProxy[T]

Attributes

Source:
ScalaNumberProxy.scala
Graph
Supertypes
trait OrderedProxy[T]
trait Ordered[T]
trait Comparable[T]
class Object
trait Matchable
trait Typed[T]
trait Proxy
class Any
Known subtypes

A function with all parameters grouped in an array.

A function with all parameters grouped in an array.

Attributes

Source:
FunctionXXL.scala
Graph
Supertypes
class Object
trait Matchable
class Any
trait IntegralProxy[T] extends ScalaWholeNumberProxy[T] with RangedProxy[T]

Attributes

Source:
ScalaNumberProxy.scala
Graph
Supertypes
trait RangedProxy[T]
trait OrderedProxy[T]
trait Ordered[T]
trait Comparable[T]
class Object
trait Matchable
trait Typed[T]
trait Proxy
class Any
Known subtypes
class RichChar
class RichLong
final class LambdaDeserialize

Attributes

Companion:
object
Source:
LambdaDeserialize.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
LambdaDeserialize.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

This class is only intended to be called by synthetic $deserializeLambda$ method that the Scala 2.12 compiler will add to classes hosting lambdas.

This class is only intended to be called by synthetic $deserializeLambda$ method that the Scala 2.12 compiler will add to classes hosting lambdas.

It is not intended to be consumed directly.

Attributes

Source:
LambdaDeserializer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source:
LazyRef.scala
Graph
Supertypes
class Object
trait Matchable
class Any
class LazyByte extends Serializable

Attributes

Source:
LazyRef.scala
Graph
Supertypes
class Object
trait Matchable
class Any
class LazyChar extends Serializable

Attributes

Source:
LazyRef.scala
Graph
Supertypes
class Object
trait Matchable
class Any
class LazyDouble extends Serializable

Attributes

Source:
LazyRef.scala
Graph
Supertypes
class Object
trait Matchable
class Any
class LazyFloat extends Serializable

Attributes

Source:
LazyRef.scala
Graph
Supertypes
class Object
trait Matchable
class Any
class LazyInt extends Serializable

Attributes

Source:
LazyRef.scala
Graph
Supertypes
class Object
trait Matchable
class Any
class LazyLong extends Serializable

Attributes

Source:
LazyRef.scala
Graph
Supertypes
class Object
trait Matchable
class Any
class LazyRef[T] extends Serializable

Classes used as holders for lazy vals defined in methods.

Classes used as holders for lazy vals defined in methods.

Attributes

Source:
LazyRef.scala
Graph
Supertypes
class Object
trait Matchable
class Any
class LazyShort extends Serializable

Attributes

Source:
LazyRef.scala
Graph
Supertypes
class Object
trait Matchable
class Any
class LazyUnit extends Serializable

Attributes

Source:
LazyRef.scala
Graph
Supertypes
class Object
trait Matchable
class Any
object LazyVals

Helper methods used in thread-safe lazy vals.

Helper methods used in thread-safe lazy vals.

Attributes

Source:
LazyVals.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
final abstract class MatchCase[Pat, +Body]

A type constructor for a case in a match type.

A type constructor for a case in a match type.

Attributes

Source:
MatchCase.scala
Graph
Supertypes
class Object
trait Matchable
class Any
final class ModuleSerializationProxy(moduleClass: Class[_]) extends Serializable

Attributes

Source:
ModuleSerializationProxy.scala
Graph
Supertypes
class Object
trait Matchable
class Any
class NonLocalReturnControl[T](val key: AnyRef, val value: T) extends ControlThrowable

Attributes

Source:
NonLocalReturnControl.scala
Graph
Supertypes
sealed abstract class Nothing$ extends Throwable

Dummy class which exist only to satisfy the JVM.

Dummy class which exist only to satisfy the JVM. It corresponds to scala.Nothing. If such type appears in method signatures, it is erased to this one.

Attributes

Source:
Nothing$.scala
Graph
Supertypes
class Throwable
class Object
trait Matchable
class Any
sealed abstract class Null$

Dummy class which exist only to satisfy the JVM.

Dummy class which exist only to satisfy the JVM. It corresponds to scala.Null. If such type appears in method signatures, it is erased to this one. A private constructor ensures that Java code can't create subclasses. The only value of type Null$ should be null

Attributes

Source:
Null$.scala
Graph
Supertypes
class Object
trait Matchable
class Any
trait OrderedProxy[T] extends Ordered[T] with Typed[T]

Attributes

Source:
ScalaNumberProxy.scala
Graph
Supertypes
trait Typed[T]
trait Proxy
trait Ordered[T]
trait Comparable[T]
class Object
trait Matchable
class Any
Known subtypes
trait RangedProxy[T] extends Typed[T]

Attributes

Source:
ScalaNumberProxy.scala
Graph
Supertypes
trait Typed[T]
trait Proxy
class Any
Known subtypes
trait IntegralProxy[T]
class RichChar
class RichLong
class RichInt
final class RichBoolean(val self: Boolean) extends AnyVal with OrderedProxy[Boolean]

Attributes

Source:
RichBoolean.scala
Graph
Supertypes
trait Typed[Boolean]
trait Proxy
class Object
class AnyVal
trait Matchable
class Any
final class RichByte(val self: Byte) extends AnyVal with ScalaWholeNumberProxy[Byte]

Attributes

Source:
RichByte.scala
Graph
Supertypes
final class RichChar(val self: Char) extends AnyVal with IntegralProxy[Char]

Attributes

Source:
RichChar.scala
Graph
Supertypes
final class RichDouble(val self: Double) extends AnyVal with FractionalProxy[Double]

Attributes

Source:
RichDouble.scala
Graph
Supertypes
final class RichFloat(val self: Float) extends AnyVal with FractionalProxy[Float]

Attributes

Source:
RichFloat.scala
Graph
Supertypes
final class RichInt(val self: Int) extends AnyVal with ScalaNumberProxy[Int] with RangedProxy[Int]

Attributes

Source:
RichInt.scala
Graph
Supertypes
final class RichLong(val self: Long) extends AnyVal with IntegralProxy[Long]

Attributes

Source:
RichLong.scala
Graph
Supertypes
final class RichShort(val self: Short) extends AnyVal with ScalaWholeNumberProxy[Short]

Attributes

Source:
RichShort.scala
Graph
Supertypes

Attributes

Source:
Scala3RunTime.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Base classes for the Rich* wrappers of the primitive types.

Base classes for the Rich* wrappers of the primitive types. As with all classes in scala.runtime.*, this is not a supported API.

Attributes

Source:
ScalaNumberProxy.scala
Graph
Supertypes
trait OrderedProxy[T]
trait Ordered[T]
trait Comparable[T]
class Object
trait Matchable
trait Typed[T]
trait Proxy
class Any
Known subtypes

The object ScalaRunTime provides support methods required by the scala runtime.

The object ScalaRunTime provides support methods required by the scala runtime. All these methods should be considered outside the API and subject to change or removal without notice.

Attributes

Source:
ScalaRunTime.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source:
ScalaNumberProxy.scala
Graph
Supertypes
trait OrderedProxy[T]
trait Ordered[T]
trait Comparable[T]
class Object
trait Matchable
trait Typed[T]
trait Proxy
class Any
Known subtypes
trait IntegralProxy[T]
class RichChar
class RichLong
class RichByte
class RichShort
final class StructuralCallSite

Attributes

Companion:
object
Source:
StructuralCallSite.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
StructuralCallSite.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
final class TupleMirror(arity: Int) extends Product with Serializable

A concrete subclass of scala.deriving.Mirror.Product, enabling reduction of bytecode size. as we do not need to synthesize an anonymous Mirror class at every callsite.

A concrete subclass of scala.deriving.Mirror.Product, enabling reduction of bytecode size. as we do not need to synthesize an anonymous Mirror class at every callsite.

Attributes

Source:
TupleMirror.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
final class TupleXXL extends Product

Attributes

Companion:
object
Source:
TupleXXL.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
object TupleXXL

Attributes

Companion:
class
Source:
TupleXXL.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source:
TupledFunctions.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
object Tuples

Attributes

Source:
Tuples.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Tuples.type
final abstract class TypeBox[-L <: U, +U]

A type for skolems that are generated during capture conversion. Capture conversion narrows the type of a tree whose type has wildcard arguments. A typical situation is a tree t of type C[_ >: L <: U] and an expected type C[X] where X is an instantiatable type variable. To be able to instantiate X, we cast the tree to type X[$n.CAP] where $n is a fresh skolem type with underlying type TypeBox[L, U].

A type for skolems that are generated during capture conversion. Capture conversion narrows the type of a tree whose type has wildcard arguments. A typical situation is a tree t of type C[_ >: L <: U] and an expected type C[X] where X is an instantiatable type variable. To be able to instantiate X, we cast the tree to type X[$n.CAP] where $n is a fresh skolem type with underlying type TypeBox[L, U].

Attributes

Source:
TypeBox.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Deprecated classlikes

final class Tuple2Zipped[El1, It1 <: Iterable[El1], El2, It2 <: Iterable[El2]](colls: (It1, It2)) extends AnyVal with ZippedIterable2[El1, El2]

Attributes

Companion:
object
Deprecated
true
Source:
Tuple2Zipped.scala
Graph
Supertypes
trait ZippedIterable2[El1, El2]
class AnyVal
trait Matchable
class Any

Attributes

Companion:
class
Deprecated
[Since version 2.13.0]
Source:
Tuple2Zipped.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
final class Tuple3Zipped[El1, It1 <: Iterable[El1], El2, It2 <: Iterable[El2], El3, It3 <: Iterable[El3]](colls: (It1, It2, It3)) extends AnyVal with ZippedIterable3[El1, El2, El3]

Attributes

Companion:
object
Deprecated
true
Source:
Tuple3Zipped.scala
Graph
Supertypes
trait ZippedIterable3[El1, El2, El3]
class AnyVal
trait Matchable
class Any

Attributes

Companion:
class
Deprecated
[Since version 2.13.0]
Source:
Tuple3Zipped.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait ZippedIterable2[+El1, +El2]

This interface is intended as a minimal interface, not complicated by the requirement to resolve type constructors, for implicit search (which only needs to find an implicit conversion to Iterable for our purposes.)

This interface is intended as a minimal interface, not complicated by the requirement to resolve type constructors, for implicit search (which only needs to find an implicit conversion to Iterable for our purposes.)

Attributes

Companion:
object
Deprecated
true
Source:
Tuple2Zipped.scala
Graph
Supertypes
class Any
Known subtypes
class Tuple2Zipped[El1, It1, El2, It2]

Attributes

Companion:
trait
Deprecated
true
Source:
Tuple2Zipped.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait ZippedIterable3[+El1, +El2, +El3]

See comment on ZippedIterable2

See comment on ZippedIterable2

Attributes

Companion:
object
Deprecated
true
Source:
Tuple3Zipped.scala
Graph
Supertypes
class Any
Known subtypes
class Tuple3Zipped[El1, It1, El2, It2, El3, It3]

Attributes

Companion:
trait
Deprecated
true
Source:
Tuple3Zipped.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Types

infix type $throws[R, +E <: Exception] = CanThrow[E] ?=> R

A helper type to allow syntax like

A helper type to allow syntax like

def f(): T throws Ex1 | Ex2

Used in desugar.throws.

Attributes

Source:
$throws.scala