Planet

sealed abstract class Planet(val distanceFromSunAU: Double, val massE: Double)
Companion:
object
class Object
trait Matchable
class Any
object Earth.type
object Jupiter.type
object Mars.type
object Mercury.type
object Neptune.type
object Saturn.type
object Uranus.type
object Venus.type

Value members

Concrete methods

override def hashCode(): Int
Definition Classes
Any

Concrete fields