code: public static void putAt(List self, EmptyRange range, Object value) {
          RangeInfo info = subListBorders(self.size(), range);
          List sublist = self.subList(info.from, info.to);
          sublist.clear();
          if (value instanceof Collection) {
              Collection col = (Collection) value;
              if (col.isEmpty()) return;
              sublist.addAll(col);
          } else {
              sublist.add(value);
          }
      }
docs: A helper method to allow lists to work with subscript operators.
  <pre class="groovyTestCase">
  def list = ["a", true]
  {@code list[1..<1] = 5}
  assert list == ["a", 5, true]
  </pre>
  
  @param self  a List
  @param range the (in this case empty) subset of the list to set
  @param value the values to put at the given sublist or a Collection of values
  @since 1.0