Skip to content

Instantly share code, notes, and snippets.

@companje
Created January 26, 2021 22:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save companje/bc517dda5f6857a722562135b6ef6494 to your computer and use it in GitHub Desktop.
Save companje/bc517dda5f6857a722562135b6ef6494 to your computer and use it in GitHub Desktop.
removeIf
lines.removeIf(o -> (((TextLine)o).cell == null)); //remove all lines that are not assigned to a cell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment