how to use a case class object in my class in Scala

前端 未结 0 420
轻奢々
轻奢々 2021-01-03 19:52
package peaceland
class Peacewatcher(idPeaceWatcher: Int, messages: List[Message]) {
 
   case class Message(idPeaceWatcher: Int, location: (Int, Int), surrounding:          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题