AbstractPartialFunction reformulates all operations of its supertraitPartialFunction in terms ofisDefinedAt andapplyOrElse.
AbstractPartialFunction reformulates all operations of its supertraitPartialFunction in terms ofisDefinedAt andapplyOrElse.
This allows more efficient implementations in many cases: - optimizedorElse method supports chainedorElse in linear time, and with no slow-down if theorElse part is not needed. - optimizedlift 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.
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.
Helper methods used in thread-safe lazy vals.
Helper methods used in thread-safe lazy vals.
A type constructor for a case in a match type.
Dummy class which exist only to satisfy the JVM.
Dummy class which exist only to satisfy the JVM. It corresponds toscala.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 toscala.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
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 concrete subclass ofscala.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 ofscala.deriving.Mirror.Product, enabling reduction of bytecode size. as we do not need to synthesize an anonymous Mirror class at every callsite.
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 treet of typeC[_ >: L <: U] and an expected typeC[X] whereX is an instantiatable type variable. To be able to instantiateX, we cast the tree to typeX[$n.CAP] where$n is a fresh skolem type with underlying typeTypeBox[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 treet of typeC[_ >: L <: U] and an expected typeC[X] whereX is an instantiatable type variable. To be able to instantiateX, we cast the tree to typeX[$n.CAP] where$n is a fresh skolem type with underlying typeTypeBox[L, U].
[Since version 2.13.0]Use scala.collection.LazyZip2.[Since version 2.13.0]Use scala.collection.LazyZip2.[Since version 2.13.0]Use scala.collection.LazyZip3.[Since version 2.13.0]Use scala.collection.LazyZip3.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.)
[Since version 2.13.0]Use scala.collection.LazyZip2.[Since version 2.13.0]Use scala.collection.LazyZip2.See comment on ZippedIterable2
See comment on ZippedIterable2
[Since version 2.13.0]Use scala.collection.LazyZip3.[Since version 2.13.0]Use scala.collection.LazyZip3.A helper type to allow syntax like
A helper type to allow syntax like
def f(): T throws Ex1 | Ex2
Used in desugar.throws.