Aşağıda bu Scala yöntemini hatayla yaşıyorum. Bir Scala listesine dönüştürülemiyor.Bir java.util.List bir Scala listesine nasıl dönüştürülür
def findAllQuestion():List[Question]={
questionDao.getAllQuestions()
}
tür uyuşmazlığı; bulunan: java.util.List[com.aitrich.learnware.model.domain.entity.Question]
gerekli: scala.collection.immutable.List[com.aitrich.learnware.model.domain.entity.Question]
Dostlarım bu ilgi diğer soruyu bulabilirsiniz: https://stackoverflow.com/questions/8301947 Liste [StudentTest] = { var list = studentTestDao.getAllStudentTests() var slist:/Bu gözüküyor çalışma .. def findAllStudentTest() – Amndeep7