Case classes in Scala are very handy because they have build extractor capability and other free features. We can define a case class and then use it conveniently in the code: import scala.collection.mutable case class MyFeature(a: Int, b: Int, c: I...

Markdown supported · ⌘↵ to post
No responses yet.