scala.runtime
package scala.runtime
Type members
Classlikes
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
- Source
- (source)
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
- Source
- (source)
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
- Source
- (source)
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
- Source
- (source)
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
- Source
- (source)
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
- Source
- (source)
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
- Source
- (source)
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
- Source
- (source)
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
- Source
- (source)
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
- Source
- (source)
abstract class AbstractFunction2[@specialized -T1, @specialized -T2, @specialized +R] extends (T1, T2) => R
- Source
- (source)
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
- Source
- (source)
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
- Source
- (source)
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
- Source
- (source)
abstract class AbstractFunction6[-T1, -T2, -T3, -T4, -T5, -T6, +R] extends (T1, T2, T3, T4, T5, T6) => R
- Source
- (source)
abstract class AbstractFunction7[-T1, -T2, -T3, -T4, -T5, -T6, -T7, +R] extends (T1, T2, T3, T4, T5, T6, T7) => R
- Source
- (source)
abstract class AbstractFunction8[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, +R] extends (T1, T2, T3, T4, T5, T6, T7, T8) => R
- Source
- (source)
abstract class AbstractFunction9[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, +R] extends (T1, T2, T3, T4, T5, T6, T7, T8, T9) => R
- Source
- (source)
abstract class AbstractPartialFunction[@specialized -T1, @specialized +R] extends T1 => R with PartialFunction[T1, R]
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.
- Source
- (source)
object Arrays
All but the first two operations should be short-circuited and implemented specially by
the backend.
- Source
- (source)
object LambdaDeserializer
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.
- Source
- (source)
@nowarn("cat=lint-unit-specialization")
class NonLocalReturnControl[@specialized(Byte, Short, Int, Long, Char, Float, Double, Boolean, Unit) T](val key: AnyRef, val value: T) extends ControlThrowable
- Source
- (source)
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.
- Source
- (source)
sealed abstract class Null$
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
- Source
- (source)
@nowarn("cat=deprecation")
Base classes for the Rich* wrappers of the primitive types.
As with all classes in scala.runtime.*, this is not a supported API.
- Source
- (source)
object ScalaRunTime
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.
- Source
- (source)
@deprecated("Use scala.collection.LazyZip2.", "2.13.0")
final class Tuple2Zipped[El1, It1 <: Iterable[El1], El2, It2 <: Iterable[El2]](colls: (It1, It2)) extends AnyVal with ZippedIterable2[El1, El2]
@deprecated("Use scala.collection.LazyZip3.", "2.13.0")
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]
.
- Source
- (source)
@deprecated("Use scala.collection.LazyZip2.", "2.13.0")
@deprecated("Use scala.collection.LazyZip3.", "2.13.0")