之间的差异和::: ++
问题描述:
对于斯卡拉名单,是从什么doc之间的差异和::: ++
::: Adds an element at the beginning of this list.
++ Returns a new list containing the elements from the left hand operand followed by the elements from the right hand operand.
答
:::
连接两个列表如
:::
和
++
之间的区别。 list1 ::: list2
++
连接任何两个集合例如。 list1 ++ list2
。注意仅适用于scala 2.8。
使用symbolhound执行[对这样的神秘符号进行搜索](http://symbolhound.com/?q=%3A%3A%3A+%2B%2B) – 2013-05-07 08:57:17