DigitMagazine

List concatenation in Groovy

Jun 24th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1.  
  2. //Concatenating Two Lists
  3. mixedBag = mixedBag + [19, 31]
  4. println("MixedBag => " + mixedBag.toListString())
Add Comment
Please, Sign In to add comment