scala.runtime
Members list
Type members
Classlikes
Attributes
- Source
- AbstractFunction0.scala
- Supertypes
Attributes
- Source
- AbstractFunction1.scala
- Supertypes
Attributes
- Source
- AbstractFunction10.scala
- Supertypes
Attributes
- Source
- AbstractFunction11.scala
- Supertypes
Attributes
- Source
- AbstractFunction12.scala
- Supertypes
Attributes
- Source
- AbstractFunction13.scala
- Supertypes
Attributes
- Source
- AbstractFunction14.scala
- Supertypes
Attributes
- Source
- AbstractFunction15.scala
- Supertypes
Attributes
- Source
- AbstractFunction16.scala
- Supertypes
Attributes
- Source
- AbstractFunction17.scala
- Supertypes
Attributes
- Source
- AbstractFunction18.scala
- Supertypes
Attributes
- Source
- AbstractFunction19.scala
- Supertypes
Attributes
- Source
- AbstractFunction2.scala
- Supertypes
Attributes
- Source
- AbstractFunction20.scala
- Supertypes
Attributes
- Source
- AbstractFunction21.scala
- Supertypes
Attributes
- Source
- AbstractFunction22.scala
- Supertypes
Attributes
- Source
- AbstractFunction3.scala
- Supertypes
Attributes
- Source
- AbstractFunction4.scala
- Supertypes
Attributes
- Source
- AbstractFunction5.scala
- Supertypes
Attributes
- Source
- AbstractFunction6.scala
- Supertypes
Attributes
- Source
- AbstractFunction7.scala
- Supertypes
Attributes
- Source
- AbstractFunction8.scala
- Supertypes
Attributes
- Source
- AbstractFunction9.scala
- Supertypes
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
- Supertypes
- Self type
-
Attributes
- Source
- ArrayCharSequence.scala
- Supertypes
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
- Supertypes
- Self type
-
Arrays.type
Attributes
- Source
- EnumValue.scala
- Supertypes
Attributes
- Source
- ScalaNumberProxy.scala
- Supertypes
-
trait ScalaNumberProxy[T]trait OrderedProxy[T]trait Ordered[T]trait Comparable[T]class Objecttrait Matchabletrait Typed[T]trait Proxyclass AnyShow all
- Known subtypes
-
class RichDoubleclass RichFloat
A function with all parameters grouped in an array.
Attributes
- Source
- ScalaNumberProxy.scala
- Supertypes
-
trait RangedProxy[T]trait ScalaWholeNumberProxy[T]trait ScalaNumberProxy[T]trait OrderedProxy[T]trait Ordered[T]trait Comparable[T]class Objecttrait Matchabletrait Typed[T]trait Proxyclass AnyShow all
- Known subtypes
Attributes
- Companion
- object
- Source
- LambdaDeserialize.scala
- Supertypes
Attributes
- Companion
- class
- Source
- LambdaDeserialize.scala
- Supertypes
- Self type
-
LambdaDeserialize.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
- Supertypes
- Self type
-
LambdaDeserializer.type
Attributes
- Source
- LazyRef.scala
- Supertypes
Attributes
- Source
- LazyRef.scala
- Supertypes
Attributes
- Source
- LazyRef.scala
- Supertypes
Attributes
- Source
- LazyRef.scala
- Supertypes
Attributes
- Source
- LazyRef.scala
- Supertypes
Attributes
- Source
- LazyRef.scala
- Supertypes
Attributes
- Source
- LazyRef.scala
- Supertypes
Classes used as holders for lazy vals defined in methods.
Classes used as holders for lazy vals defined in methods.
Attributes
- Source
- LazyRef.scala
- Supertypes
Attributes
- Source
- LazyRef.scala
- Supertypes
Attributes
- Source
- LazyRef.scala
- Supertypes
Helper methods used in thread-safe lazy vals.
Helper methods used in thread-safe lazy vals.
Attributes
- Source
- LazyVals.scala
- Supertypes
- Self type
-
LazyVals.type
A type constructor for a case in a match type.
Attributes
- Source
- ModuleSerializationProxy.scala
- Supertypes
Attributes
- Source
- NonLocalReturnControl.scala
- Supertypes
-
class ControlThrowableclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
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
- Supertypes
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
- Supertypes
Attributes
- Source
- ScalaNumberProxy.scala
- Supertypes
- Known subtypes
-
class RichBooleantrait ScalaNumberProxy[T]trait FractionalProxy[T]class RichDoubleclass RichFloatclass RichInttrait ScalaWholeNumberProxy[T]trait IntegralProxy[T]class RichCharclass RichLongclass RichByteclass RichShortShow all
Attributes
- Source
- ScalaNumberProxy.scala
- Supertypes
- Known subtypes
Attributes
- Source
- RichBoolean.scala
- Supertypes
Attributes
- Source
- RichByte.scala
- Supertypes
-
trait ScalaWholeNumberProxy[Byte]trait ScalaNumberProxy[Byte]trait OrderedProxy[Byte]trait Comparable[Byte]class Objecttrait Proxyclass AnyValtrait Matchableclass AnyShow all
Attributes
- Source
- RichChar.scala
- Supertypes
-
trait IntegralProxy[Char]trait RangedProxy[Char]trait ScalaWholeNumberProxy[Char]trait ScalaNumberProxy[Char]trait OrderedProxy[Char]trait Comparable[Char]class Objecttrait Proxyclass AnyValtrait Matchableclass AnyShow all
Attributes
- Source
- RichDouble.scala
- Supertypes
-
trait FractionalProxy[Double]trait ScalaNumberProxy[Double]trait OrderedProxy[Double]trait Comparable[Double]class Objecttrait Proxyclass AnyValtrait Matchableclass AnyShow all
Attributes
- Source
- RichFloat.scala
- Supertypes
-
trait FractionalProxy[Float]trait ScalaNumberProxy[Float]trait OrderedProxy[Float]trait Comparable[Float]class Objecttrait Proxyclass AnyValtrait Matchableclass AnyShow all
Attributes
- Source
- RichInt.scala
- Supertypes
-
trait RangedProxy[Int]trait ScalaNumberProxy[Int]trait OrderedProxy[Int]trait Comparable[Int]class Objecttrait Proxyclass AnyValtrait Matchableclass AnyShow all
Attributes
- Source
- RichLong.scala
- Supertypes
-
trait IntegralProxy[Long]trait RangedProxy[Long]trait ScalaWholeNumberProxy[Long]trait ScalaNumberProxy[Long]trait OrderedProxy[Long]trait Comparable[Long]class Objecttrait Proxyclass AnyValtrait Matchableclass AnyShow all
Attributes
- Source
- RichShort.scala
- Supertypes
-
trait ScalaWholeNumberProxy[Short]trait ScalaNumberProxy[Short]trait OrderedProxy[Short]trait Comparable[Short]class Objecttrait Proxyclass AnyValtrait Matchableclass AnyShow all
Attributes
- Source
- Scala3RunTime.scala
- Supertypes
- Self type
-
Scala3RunTime.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
- Supertypes
-
trait OrderedProxy[T]trait Ordered[T]trait Comparable[T]class Objecttrait Matchabletrait Typed[T]trait Proxyclass AnyShow all
- Known subtypes
-
trait FractionalProxy[T]class RichDoubleclass RichFloatclass RichInttrait ScalaWholeNumberProxy[T]trait IntegralProxy[T]class RichCharclass RichLongclass RichByteclass RichShortShow all
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
- Supertypes
- Self type
-
ScalaRunTime.type
Attributes
- Source
- ScalaNumberProxy.scala
- Supertypes
-
trait ScalaNumberProxy[T]trait OrderedProxy[T]trait Ordered[T]trait Comparable[T]class Objecttrait Matchabletrait Typed[T]trait Proxyclass AnyShow all
- Known subtypes
Attributes
- Companion
- object
- Source
- StructuralCallSite.scala
- Supertypes
Attributes
- Companion
- class
- Source
- StructuralCallSite.scala
- Supertypes
- Self type
-
StructuralCallSite.type
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
- Supertypes
Attributes
- Source
- Tuples.scala
- Supertypes
- Self type
-
Tuples.type
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
- Supertypes
Deprecated classlikes
Attributes
- Companion
- object
- Deprecated
- true
- Source
- Tuple2Zipped.scala
- Supertypes
Attributes
- Companion
- class
- Deprecated
-
[Since version 2.13.0]
- Source
- Tuple2Zipped.scala
- Supertypes
- Self type
-
Tuple2Zipped.type
Attributes
- Companion
- object
- Deprecated
- true
- Source
- Tuple3Zipped.scala
- Supertypes
Attributes
- Companion
- class
- Deprecated
-
[Since version 2.13.0]
- Source
- Tuple3Zipped.scala
- Supertypes
- Self type
-
Tuple3Zipped.type
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
- Supertypes
-
class Any
- Known subtypes
-
Attributes
- Companion
- trait
- Deprecated
- true
- Source
- Tuple2Zipped.scala
- Supertypes
- Self type
-
ZippedIterable2.type
See comment on ZippedIterable2
See comment on ZippedIterable2
Attributes
- Companion
- object
- Deprecated
- true
- Source
- Tuple3Zipped.scala
- Supertypes
-
class Any
- Known subtypes
-
Attributes
- Companion
- trait
- Deprecated
- true
- Source
- Tuple3Zipped.scala
- Supertypes
- Self type
-
ZippedIterable3.type
Experimental classlikes
Marker trait for function types with erased parameters.
Marker trait for function types with erased parameters.
This trait will be refined with an apply
method with erased parameters: ErasedFunction { def apply([erased] x_1: P_1, ..., [erased] x_N: P_N): R } This type will be erased to FunctionL, where L = N - count(erased).
Note: Now we use scala.PolyFunction
instead. This will be removed.
Attributes
- Experimental
- true
- Source
- ErasedFunction.scala
- Supertypes
Attributes
- Experimental
- true
- Source
- TupledFunctions.scala
- Supertypes
- Self type
-
TupledFunctions.type
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.
Attributes
- Source
- $throws.scala