scala

class AnyVal

[Source: none]

sealed final class AnyVal
extends Any

Class AnyVal is the root class of all value types.

AnyVal has a fixed number subclasses, which describe values which are not implemented as objects in the underlying host system.

Classes Double, Float, Long, Int, Char, Short, and Byte are together called numeric value types. Classes Byte, Short, or Char are called subrange types. Subrange types, as well as Int and Long are called integer types, whereas Float and Double are called floating point types.

Direct Known Subclasses:
Boolean, Byte, Char, Double, Long, Float, Int, Short, Unit

Methods inherited from Any
==, !=, equals, hashCode, toString, isInstanceOf, asInstanceOf