how to remove all values from a list in java code example Example: how to remove all items from alist in java list.clear();