Site menu

CodeCook.io

  • Languages
    • C
    • C++
    • CSS
    • Git
    • HTML
    • Java
    • JavaScript
    • jQuery
    • PHP
    • Python
    • Ruby
    • Scala
  • array
  • concat

Scala - Concatenate two arrays

Merge the elements of two arrays one after another.

0
973
  • Share on Facebook
  • Share on Google+
  • Share on Twitter
Immutable: Concatenate two Sequences
{{array1}} ++ {{array2}}
java

Notes

last update: Oct. 27, 2014

0
947
  • Share on Facebook
  • Share on Google+
  • Share on Twitter
Mutable: Concatenate two ArrayBuffer
{{array1}} ++= {{array2}}
java

Notes

last update: Oct. 27, 2014

Advertisement

This project is hosted on DigitalOcean, try it and support us

Related concept

  • Get first element array
  • Find index of item in array
  • Append item to array
  • Array length
  • Sort list of numbers

Other language

  • Python
  • JavaScript
  • PHP

Random task

  • Select dom element by id
  • Upload local branch to remote
  • Select element by model
  • Word capitalization
  • List processes listening on ports
  • Blog
  • About
  • License