swap method

void swap(
  1. List<T> list
)

Implementation

void swap(List<T> list) {
  _list = list;
  notify();
}