summaryrefslogblamecommitdiff
path: root/src/library/scala/AnyVal.scala
blob: 393f0899f48d2b34ab1a598e947c26dd5121a502 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                                                          
                                                                          






                                                                          
















                                                                                                 
                                                


                                                                                                         
 
/*                     __                                               *\
**     ________ ___   / /  ___     Scala API                            **
**    / __/ __// _ | / /  / _ |    (c) 2002-2011, LAMP/EPFL             **
**  __\ \/ /__/ __ |/ /__/ __ |    http://scala-lang.org/               **
** /____/\___/_/ |_/____/_/ | |                                         **
**                          |/                                          **
\*                                                                      */

package scala

/** `AnyVal` is the root class of all ''value types'', which describe values
 *  not implemented as objects in the underlying host system.  The value classes
 *  are specified in SLS 12.2.
 *
 *  The standard implementation includes nine `AnyVal` subtypes:
 *
 *  [[scala.Double]], [[scala.Float]], [[scala.Long]], [[scala.Int]], [[scala.Char]],
 *  [[scala.Short]], and [[scala.Byte]] are the ''numeric value types''.
 *
 *  [[scala.Unit]] and [[scala.Boolean]] are the ''non-numeric value types''.
 *
 *  Other groupings:
 *
 *  The ''subrange types'' are [[scala.Byte]], [[scala.Short]], and [[scala.Char]].
 *  The ''integer types'' include the subrange types as well as [[scala.Int]] and [[scala.Long]].
 *  The ''floating point types'' are [[scala.Float]] and [[scala.Double]].
 */
abstract class AnyVal extends Any with NotNull {
  //  disabled for now to make the standard build go through. 
  //  Once we have a new strap we can uncomment this and delete the AnyVal_getClass entry in Definitions.
  def getClass(): Class[_ <: AnyVal] = ???   
}