`map` is generally used for transforming objects w...
# getting-started
d
map
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.