Using slightly less concise lambda syntax:
mystuff = mystuff.filter(x => (x.isX && x.name == "xyz"))
You can find more detail on Scala anonymous function syntax here.
Using slightly less concise lambda syntax:
mystuff = mystuff.filter(x => (x.isX && x.name == "xyz"))
You can find more detail on Scala anonymous function syntax here.