From Java to Scala?