Skip to content

Instantly share code, notes, and snippets.

Created September 11, 2013 21:33
public void removeAll(Collection<String> list, String item){
while(list.contains(item)){
list.remove(item);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment