13+ Scala Class Hierarchy Diagram. Any has two direct subclasses In scala, all values have a type, including numerical values and functions.
Inheritance and Traits in Scala | James Willett from www.james-willett.com
Some of the methods defined in any that is available for all scala objects. This error should be rectified soon, possibly in time for scala 2.1.3.1. In scala, the entire body of the class is the constructor.
We'll start by covering classes before delving into implicit classes and inner classes.
13+ Scala Class Hierarchy Diagram. This error should be rectified soon, possibly in time for scala 2.1.3.1. As you will see from the hierarchy diagram below, collection is a root interface in the collection hierarchy but collections is a class which provide static methods to manipulate on some collection types. The root class any has two subclasses: Scala.any, the superclass of all classes, has two direct subclasses.