scala.runtime
Type members
Classlikes
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.
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.
A function with all parameters grouped in an array.
A function with all parameters grouped in an array.
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.
Classes used as holders for lazy vals defined in methods.
Classes used as holders for lazy vals defined in methods.
Helper methods used in thread-safe lazy vals.
Helper methods used in thread-safe lazy vals.
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.
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.
A type for skolems that are generated during capture conversion.
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]
.
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.
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
Deprecated classlikes
- Companion
- object
- Deprecated
- Companion
- class
- Deprecated
[Since version 2.13.0]
- Companion
- object
- Deprecated
- Companion
- class
- Deprecated
[Since version 2.13.0]
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.)
- Companion
- object
- Deprecated
- Companion
- class
- Deprecated
See comment on ZippedIterable2
See comment on ZippedIterable2
- Companion
- object
- Deprecated
- Companion
- class
- Deprecated