Scala 2

API Specification

This document is the API specification for Scala 2.

Class Summary
final class BoxedAnyArray
Arrays created by new Array[T](length) where T is a type variable.
abstract class BoxedArray

A class representing Array[T]


final class BoxedBooleanArray

final class BoxedByteArray

final class BoxedCharArray

final class BoxedDoubleArray

final class BoxedFloatArray

final class BoxedIntArray

final class BoxedLongArray

final class BoxedObjectArray

final class BoxedShortArray

class NonLocalReturnException [T]

sealed abstract class Nothing$
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.
sealed abstract class Null$
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.
final class RichBoolean

final class RichByte

final class RichChar

For example, in the following code

    object test extends Application {
      Console.println('\40'.isWhitespace)
      Console.println('\011'.isWhitespace)
      Console.println('1'.asDigit == 1)
      Console.println('A'.asDigit == 10)
    }

the implicit conversions are performed using the predefined view Predef.charWrapper.


final class RichDouble

final class RichException

final class RichFloat

final class RichInt

final class RichLong

final class RichShort

final class RichString

final class StringAdd


Object Summary
object ScalaRunTime