|
|
|
|
|
by soc88
5317 days ago
|
|
Yes. Because Scala doesn't make up random rules about how you name your methods. If you name your method addAll or ++ is pretty much the same. The same rules apply to both. Both can be called the same way: coll1.addAll(coll2) coll1.++(coll2)
coll1 addAll coll2 coll1 ++ coll2
|
|