private void checkNotNullCollection(@NotNull Collection<? extends E> c) {
    for (E e : c) {
      if (e == null) throw new IllegalArgumentException("null element in the collection: "+c);
    }
  }
private void checkNotNullCollection(@NotNull Collection<? extends E> c)