removeAll

Removes all labels from the collection.

labels.add(...);
labels.add(...);
labels.removeAll();

See also