Class Any
is the root of the Scala class hierarchy.
Class AnyRef
is the root class of all reference types.
Class AnyRef
is the root class of all reference types.
All types except the value types descend from this class.
AnyVal
is the root class of all value types, which describe values
not implemented as objects in the underlying host system.
The App
trait can be used to quickly turn objects
into executable programs.
Represents polymorphic arrays.
Boolean
is a member of the value classes, those whose instances are
not represented as objects by the underlying host system.
Byte
is a member of the value classes, those whose instances are
not represented as objects by the underlying host system.
Char
is a member of the value classes, those whose instances are
not represented as objects by the underlying host system.
Classes and traits inheriting the DelayedInit
marker trait
will have their initialization code rewritten as follows.
Double
is a member of the value classes, those whose instances are
not represented as objects by the underlying host system.
A marker trait that enables dynamic invocations.
Represents a value of one of two possible types (a disjoint union).
Defines a finite set of values specific to the enumeration.
An interface containing operations for equality.
Contains a fallback builder for arrays when the element type does not have a class manifest.
Float
is a member of the value classes, those whose instances are
not represented as objects by the underlying host system.
A function of 0 parameters.
A function of 1 parameter.
A function of 10 parameters.
A function of 11 parameters.
A function of 12 parameters.
A function of 13 parameters.
A function of 14 parameters.
A function of 15 parameters.
A function of 16 parameters.
A function of 17 parameters.
A function of 18 parameters.
A function of 19 parameters.
A function of 2 parameters.
A function of 20 parameters.
A function of 21 parameters.
A function of 22 parameters.
A function of 3 parameters.
A function of 4 parameters.
A function of 5 parameters.
A function of 6 parameters.
A function of 7 parameters.
A function of 8 parameters.
A function of 9 parameters.
A marker trait for all immutable datastructures such as immutable collections.
Int
is a member of the value classes, those whose instances are
not represented as objects by the underlying host system.
The left side of the disjoint union, as opposed to the Right
side.
Long
is a member of the value classes, those whose instances are
not represented as objects by the underlying host system.
The LowPriorityImplicits
class provides implicit values that
are valid in all Scala compilation units without explicit qualification,
but that are partially overridden by higher-priority conversions in object
Predef
.
This class implements errors which are thrown whenever an object doesn't match any pattern of a pattern matching expression.
A marker trait for mutable datatructures such as mutable collections
A marker trait for things that are not allowed to be null
Nothing
is - together with Null - at the bottom of Scala's type hierarchy.
Null
is - together with Nothing - at the bottom of the Scala type hierarchy.
Represents optional values.
A partial function of type PartialFunction[A, B]
is a
unary function where the domain does not necessarily include all values of type
A
.
Base trait for all products, which in the standard library include at least Product1 through Product22 and therefore also their subclasses Tuple1 through Tuple22.
Product1 is a cartesian product of 1 component.
Product10 is a cartesian product of 10 components.
Product11 is a cartesian product of 11 components.
Product12 is a cartesian product of 12 components.
Product13 is a cartesian product of 13 components.
Product14 is a cartesian product of 14 components.
Product15 is a cartesian product of 15 components.
Product16 is a cartesian product of 16 components.
Product17 is a cartesian product of 17 components.
Product18 is a cartesian product of 18 components.
Product19 is a cartesian product of 19 components.
Product2 is a cartesian product of 2 components.
Product20 is a cartesian product of 20 components.
Product21 is a cartesian product of 21 components.
Product22 is a cartesian product of 22 components.
Product3 is a cartesian product of 3 components.
Product4 is a cartesian product of 4 components.
Product5 is a cartesian product of 5 components.
Product6 is a cartesian product of 6 components.
Product7 is a cartesian product of 7 components.
Product8 is a cartesian product of 8 components.
Product9 is a cartesian product of 9 components.
This class implements a simple proxy that forwards all calls to the public, non-final methods defined in class "Any" to another object self.
Instances of responder are the building blocks of small programs written in continuation passing style.
The right side of the disjoint union, as opposed to the Left
side.
Annotation for specifying the static SerialVersionUID
field
of a serializable class.
Classes extending this trait are serializable across platforms (Java, .
Short
is a member of the value classes, those whose instances are
not represented as objects by the underlying host system.
Class Some[A]
represents existing values of type
A
.
This class provides a simple way to get unique objects for equal strings.
A tuple of 1 elements; the canonical representation of a Product1.
A tuple of 10 elements; the canonical representation of a Product10.
A tuple of 11 elements; the canonical representation of a Product11.
A tuple of 12 elements; the canonical representation of a Product12.
A tuple of 13 elements; the canonical representation of a Product13.
A tuple of 14 elements; the canonical representation of a Product14.
A tuple of 15 elements; the canonical representation of a Product15.
A tuple of 16 elements; the canonical representation of a Product16.
A tuple of 17 elements; the canonical representation of a Product17.
A tuple of 18 elements; the canonical representation of a Product18.
A tuple of 19 elements; the canonical representation of a Product19.
A tuple of 2 elements; the canonical representation of a Product2.
A tuple of 20 elements; the canonical representation of a Product20.
A tuple of 21 elements; the canonical representation of a Product21.
A tuple of 22 elements; the canonical representation of a Product22.
A tuple of 3 elements; the canonical representation of a Product3.
A tuple of 4 elements; the canonical representation of a Product4.
A tuple of 5 elements; the canonical representation of a Product5.
A tuple of 6 elements; the canonical representation of a Product6.
A tuple of 7 elements; the canonical representation of a Product7.
A tuple of 8 elements; the canonical representation of a Product8.
A tuple of 9 elements; the canonical representation of a Product9.
This class represents uninitialized variable/value errors.
This class implements errors which are thrown whenever a field is used before it has been initialized.
Unit is a member of the value classes, those whose instances are not represented as objects by the underlying host system.
An annotation that designates the class to which it is applied as cloneable
An annotation that designates that a definition is deprecated.
An annotation that designates the name of the parameter to which it is applied as deprecated.
An annotation on methods that requests that the compiler should try especially hard to inline the annotated method.
Marker for native methods.
An annotation on methods that forbids the compiler to inline the method, no matter how safe the inlining appears to be.
An annotation that designates the class to which it is applied as remotable.
Annotate type parameters on which code should be automatically specialized.
Annotation for specifying the exceptions thrown by a method.
An annotation that gets applied to a selector in a match expression.
use scala.annotation.Annotation instead
The Application
trait can be used to quickly turn objects
into executable programs, but is not recommended.
A Cell
is a generic wrapper which completely
hides the functionality of the wrapped object.
use java.lang.Character instead
use scala.annotation.ClassfileAnnotation instead
use Iterable instead
Counted iterators keep track of the number of elements seen so far
use java.lang.Integer instead
use IndexedSeq instead
use Seq instead
use scala.annotation.StaticAnnotation instead
use scala.annotation.TypeConstraint instead
instead of @serializable class C
, use class C extends Serializable
Utility methods for operating on arrays.
Implements functionality for printing Scala values on the terminal as well as reading specific values.
A module defining utility methods for higher-order functional programming.
This case object represents non-existent values.
A few handy operations which leverage the extra bit of information available in partial functions.
The Predef
object provides definitions that are
accessible in all Scala compilation units without explicit
qualification.
This object contains utility methods to build responders.
A library that provides both asynchronous and synchronous messaging to allow for concurrent programming without explicit synchronization.
Contains the base traits and objects needed to use and extend Scala's collection library.
The package object scala.math
contains methods for performing basic numeric
operations such as the elementary exponential, logarithm, square root, and
trigonometric functions.
Useful imports that don't have wrappers.
The package object scala.sys
contains methods for reading
and altering core aspects of the virtual machine as well as the
world outside of it.
use Iterable instead
The object Math
contains methods for performing basic numeric
operations such as the elementary exponential, logarithm, square root, and
trigonometric functions.
use IndexedSeq instead
use Seq instead
Use ((x1, x2, ...)) syntax to create Tuples
Use ((x1, x2, ...)) syntax to create Tuples
Use ((x1, x2, ...)) syntax to create Tuples
Use ((x1, x2, ...)) syntax to create Tuples
Use ((x1, x2, ...)) syntax to create Tuples
Use ((x1, x2, ...)) syntax to create Tuples
Use ((x1, x2, ...)) syntax to create Tuples
Use ((x1, x2, ...)) syntax to create Tuples
Use ((x1, x2, ...)) syntax to create Tuples
Use ((x1, x2, ...)) syntax to create Tuples
Use ((x1, x2, ...)) syntax to create Tuples
Use ((x1, x2, ...)) syntax to create Tuples
Use ((x1, x2, ...)) syntax to create Tuples
Use ((x1, x2, ...)) syntax to create Tuples
Use ((x1, x2, ...)) syntax to create Tuples
Use ((x1, x2, ...)) syntax to create Tuples
Use ((x1, x2, ...)) syntax to create Tuples
Use ((x1, x2, ...)) syntax to create Tuples
Use ((x1, x2, ...)) syntax to create Tuples
Use ((x1, x2, ...)) syntax to create Tuples
Use ((x1, x2, ...)) syntax to create Tuples
Use Tuple1(x) to create a 1-tuple.
Use Thread.currentThread instead
Core Scala types. They are always available without an explicit import.