I have searched for this but it\'s in other languages like Python or R (?). I have lists inside a list and I would like to remove the empty list. For example:
You could try this as well:
list.removeIf(p -> p.isEmpty());