DigitMagazine

Removing an element from the list in Groovy

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