addAll method

void addAll (Iterable<E> iterable)

This operation is not supported by an unmodifiable list.

Implementation

void addAll(Iterable<E> iterable) {
  throw new UnsupportedError("Cannot add to an unmodifiable list");
}