امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبVote count: 0 I've been stuck on this small piece of code for 2 days now and I don't understand what I'm doing wrong. class Header extends Serializable { val objectives = List[String]("1", "2", "3") var nominalCount = 0 var inputCount = 0 var outputCount = 0 var methodType = "" override def toString: String = { s"NominalCount: $nominalCountn" + s"InputCount: $inputCountn" + s"OutputCount: $outputCountn" + s"Type: $methodTypen" + s"Objectives: ${objectives.toString}" } } I create an instance of this class, and send it to the ActorRef like you would with any type of message sender ! header On the receiving end I have this. class MethodActor extends Actor { val remote = context.actorSelection(s...
ادامه مطلب