Scala中List的ListBuffer是实现高效的遍历计算
摘要:
学习了Scala中List的ListBuffer是实现高效的遍历计算,List与ListBuffer和java中的String与StringBuffer的设计很相似,List与String设计默认是不可变的,varlist=List[XX]形式生成的list虽然有var作修饰,但类型认为immuta... 阅读全文
posted @ 2015-08-10 15:29 l_time 阅读(782) 评论(1) 推荐(0)
浙公网安备 33010602011771号