How to get Scala List from Java List?

前端 未结 6 1284
半阙折子戏
半阙折子戏 2021-01-29 23:23

I have a Java API that returns a List like:

public List getByXPath(String xpathExpr)

I am using the below scala code:

         


        
6条回答
提交回复
热议问题