assign method
void
assign(
- E element
Replaces all existing elements of this list with element
Implementation
void assign(E element) {
clear();
add(element);
}
Replaces all existing elements of this list with element
void assign(E element) {
clear();
add(element);
}