Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



#compound-types #scala
Sometimes it is necessary to express that the type of an object is a subtype of several other types. In Scala this can be expressed with the help of compound types, which are intersections of object types.
If you want to change selection, open document below and click on "Move attachment"

Compound Types - Scala Documentation
<span>Sometimes it is necessary to express that the type of an object is a subtype of several other types. In Scala this can be expressed with the help of compound types, which are intersections of object types. Suppose we have two traits Cloneable and Resetable: trait Cloneable extends java.lang.Cloneable { override def clone(): Cloneable = { super.clone().asInstanceOf[Cloneable] } }


Summary

statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on

Details



Discussion

Do you want to join discussion? Click here to log in or create user.