dalexander
11/03/2017, 7:55 PMmap
is generally used for transforming objects within a list, which is why I suggested it. So if you have a list of strings that you want to turn into ints you would call stringList.map { Integer.parseInt(it) }
, now if you’re trying to remove items from the list, there are other ways to do that.