Core Scala types. They are always available without an explicit import.
use scala.annotation.Annotation instead
Class AnyRef
is the root class of all reference types.
Class AnyRef
is the root class of all reference types.
Class AnyVal
is the root class of all value types.
The App
trait can be used to quickly turn objects
into executable programs.
The Application
trait can be used to quickly turn objects
into executable programs, but is not recommended.
Represents polymorphic arrays.
Class Boolean
has only two values: true
and false
.
Class Byte
belongs to the value classes whose instances are not represented as objects by
the underlying host system.
A Cell
is a generic wrapper which completely
hides the functionality of the wrapped object.
Class Char
belongs to the value classes whose instances are not represented as objects by
the underlying host system.
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
Classes and traits inheriting the DelayedInit
marker trait
will have their initialization code rewritten as follows.
Class Double
belongs to the value classes 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.
Class Float
belongs to the value classes 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.
Class Int
belongs to the value classes whose instances are not represented as objects by
the underlying host system.
use java.lang.Integer instead
The left side of the disjoint union, as opposed to the Right
side.
Class Long
belongs to the value classes 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
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.
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.
use IndexedSeq instead
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.
use Seq instead
Annotation for specifying the static SerialVersionUID
field
of a serializable class.
Classes extending this trait are serializable across platforms (Java, .
Class Short
belongs to the value classes whose instances are not represented as objects by
the underlying host system.
Class Some[A]
represents existing values of type
A
.
use scala.annotation.StaticAnnotation instead
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.
use scala.annotation.TypeConstraint instead
This class represents uninitialized variable/value errors.
This class implements errors which are thrown whenever a field is used before it has been initialized.
Class Unit
has only one value: ()
.
An annotation that designates the class to which it is applied as cloneable
An annotation that designates the definition to which it is applied as 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.
instead of @serializable class C
, use class C extends Serializable
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.
Utility methods for operating on arrays.
use Iterable instead
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.
The object Math
contains methods for performing basic numeric
operations such as the elementary exponential, logarithm, square root, and
trigonometric functions.
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.
use IndexedSeq instead
This object contains utility methods to build responders.
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.
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.
Use Thread.currentThread instead
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.
Core Scala types. They are always available without an explicit import.