Package scala.runtime
package runtime
- Source
- package.scala
Type Members
abstract class AbstractFunction0[+R] extends () ⇒ R
abstract class AbstractFunction1[-T1, +R] extends (T1) ⇒ R
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
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
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
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
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
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
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
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
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
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
abstract class AbstractFunction2[-T1, -T2, +R] extends (T1, T2) ⇒ R
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
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
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
abstract class AbstractFunction3[-T1, -T2, -T3, +R] extends (T1, T2, T3) ⇒ R
abstract class AbstractFunction4[-T1, -T2, -T3, -T4, +R] extends (T1, T2, T3, T4) ⇒ R
abstract class AbstractFunction5[-T1, -T2, -T3, -T4, -T5, +R] extends (T1, T2, T3, T4, T5) ⇒ R
abstract class AbstractFunction6[-T1, -T2, -T3, -T4, -T5, -T6, +R] extends (T1, T2, T3, T4, T5, T6) ⇒ R
abstract class AbstractFunction7[-T1, -T2, -T3, -T4, -T5, -T6, -T7, +R] extends (T1, T2, T3, T4, T5, T6, T7) ⇒ R
abstract class AbstractFunction8[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, +R] extends (T1, T2, T3, T4, T5, T6, T7, T8) ⇒ R
abstract class AbstractFunction9[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, +R] extends (T1, T2, T3, T4, T5, T6, T7, T8, T9) ⇒ R
abstract class AbstractPartialFunction[-T1, +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.
- Since
2.10
final class ArrayCharSequence extends CharSequence
trait FractionalProxy[T] extends ScalaNumberProxy[T] with RangedProxy[T]
trait IntegralProxy[T] extends ScalaWholeNumberProxy[T] with RangedProxy[T]
class LazyBoolean extends Serializable
- Annotations
- @SerialVersionUID()
class LazyByte extends Serializable
- Annotations
- @SerialVersionUID()
class LazyChar extends Serializable
- Annotations
- @SerialVersionUID()
class LazyDouble extends Serializable
- Annotations
- @SerialVersionUID()
class LazyFloat extends Serializable
- Annotations
- @SerialVersionUID()
class LazyInt extends Serializable
- Annotations
- @SerialVersionUID()
class LazyLong extends Serializable
- Annotations
- @SerialVersionUID()
class LazyRef[T] extends Serializable
Classes used as holders for lazy vals defined in methods.
- Annotations
- @SerialVersionUID()
class LazyShort extends Serializable
- Annotations
- @SerialVersionUID()
class LazyUnit extends Serializable
- Annotations
- @SerialVersionUID()
class NonLocalReturnControl[T] extends Throwable with ControlThrowable
trait OrderedProxy[T] extends Ordered[T] with Typed[T]
trait RangedProxy[T] extends Typed[T]
final class RichBoolean extends AnyVal with OrderedProxy[Boolean]
final class RichByte extends AnyVal with ScalaWholeNumberProxy[Byte]
final class RichChar extends AnyVal with IntegralProxy[Char]
final class RichDouble extends AnyVal with FractionalProxy[Double]
final class RichFloat extends AnyVal with FractionalProxy[Float]
final class RichInt extends AnyVal with ScalaNumberProxy[Int] with RangedProxy[Int]
final class RichLong extends AnyVal with IntegralProxy[Long]
final class RichShort extends AnyVal with ScalaWholeNumberProxy[Short]
trait ScalaNumberProxy[T] extends ScalaNumericAnyConversions with Typed[T] with OrderedProxy[T]
Base classes for the Rich* wrappers of the primitive types. As with all classes in scala.runtime.*, this is not a supported API.
- Since
2.9
trait ScalaWholeNumberProxy[T] extends ScalaNumberProxy[T]
final class Tuple2Zipped[El1, Repr1, El2, Repr2] extends AnyVal with ZippedTraversable2[El1, El2]
final class Tuple3Zipped[El1, Repr1, El2, Repr2, El3, Repr3] extends AnyVal with ZippedTraversable3[El1, El2, El3]
trait ZippedTraversable2[+El1, +El2] extends Any
trait ZippedTraversable3[+El1, +El2, +El3] extends Any
final class RichException extends AnyRef
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) use Throwable#getStackTrace
final class SeqCharSequence extends CharSequence
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) use Predef.SeqCharSequence
final class StringFormat extends AnyVal
A wrapper class that adds a formatted
operation to any value
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) use Predef.StringFormat
Value Members
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.
object Tuple2Zipped
object Tuple3Zipped
object ZippedTraversable2
object ZippedTraversable3
© 2002-2019 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://www.scala-lang.org/api/2.12.9/scala/runtime/index.html