scala中的list怎么存储对象_scala怎么向list中存放-CSDN博客文章浏览阅读2.5k次。scala中的list是一个不可变的列表,有时候我们想直接添加对象不太方便,这个时候可以先转成java的List添加完再转回去.LIst支持在头部快速添加和移除条目,但是不提供快速按下标访问的功能,这个功能需要线...... admin2024-01-22