scala.runtime
Type members
Classlikes
- Source:
- AbstractFunction10.scala
- Source:
- AbstractFunction11.scala
- Source:
- AbstractFunction12.scala
- Source:
- AbstractFunction13.scala
- Source:
- AbstractFunction14.scala
- Source:
- AbstractFunction15.scala
- Source:
- AbstractFunction16.scala
- Source:
- AbstractFunction17.scala
- Source:
- AbstractFunction18.scala
- Source:
- AbstractFunction19.scala
- Source:
- AbstractFunction2.scala
- Source:
- AbstractFunction20.scala
- Source:
- AbstractFunction21.scala
- Source:
- AbstractFunction22.scala
- Source:
- AbstractFunction6.scala
- Source:
- AbstractFunction7.scala
- Source:
- AbstractFunction8.scala
- Source:
- AbstractFunction9.scala
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.
- Source:
- Arrays.scala
A function with all parameters grouped in an array.
A function with all parameters grouped in an array.
- Source:
- FunctionXXL.scala
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.
- Source:
- LambdaDeserializer.scala
Classes used as holders for lazy vals defined in methods.
Classes used as holders for lazy vals defined in methods.
- Source:
- LazyRef.scala
Helper methods used in thread-safe lazy vals.
Helper methods used in thread-safe lazy vals.
- Source:
- LazyVals.scala
A type constructor for a case in a match type.
A type constructor for a case in a match type.
- Source:
- MatchCase.scala
- Source:
- NonLocalReturnControl.scala
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.
- Source:
- Nothing$.scala
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
- Source:
- Null$.scala
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.
- Source:
- ScalaNumberProxy.scala
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.
- Source:
- ScalaRunTime.scala
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]
.
- Source:
- TypeBox.scala
Deprecated classlikes
- Companion:
- object
- Deprecated
- Source:
- Tuple2Zipped.scala
- Companion:
- class
- Deprecated
[Since version 2.13.0]
- Source:
- Tuple2Zipped.scala
- Companion:
- object
- Deprecated
- Source:
- Tuple3Zipped.scala
- Companion:
- class
- Deprecated
[Since version 2.13.0]
- Source:
- Tuple3Zipped.scala
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
- Source:
- Tuple2Zipped.scala
- Companion:
- class
- Deprecated
- Source:
- Tuple2Zipped.scala
See comment on ZippedIterable2
See comment on ZippedIterable2
- Companion:
- object
- Deprecated
- Source:
- Tuple3Zipped.scala
- Companion:
- class
- Deprecated
- Source:
- Tuple3Zipped.scala
Types
A helper type to allow syntax like
A helper type to allow syntax like
def f(): T throws Ex1 | Ex2
Used in desugar.throws.
- Source:
- $throws.scala