class AbstractSequence<T> implements Sequence<T> {

  @Override
  public String toString() {<FILL_FUNCTION_BODY>}


}

    StringBuilder sb = new StringBuilder(super.toString());

    sb.append("[");
    boolean wasFirst = true;

    Iterator<T> it = iterator();
    while (it.hasNext()) {
      T e = it.next();

      if (wasFirst) {
        sb.append(e);
        wasFirst = false;
      } else {
        sb.append(", ").append(e);
      }
    }
    sb.append("]");

    return sb.toString();

  
<no_super_class>