code: public final String toFFDCString(Collection aCollection)
    {
      StringBuffer buffer = new StringBuffer();
      buffer.append('{');
      if (aCollection == null)
      {
        buffer.append("<null>");
      }
      else
      {
        Iterator i = aCollection.iterator();
        boolean hasNext = i.hasNext();
        int ctr = 0;
        while (hasNext)
        {
          Object value = i.next();
          buffer.append((value == aCollection ? "<this list>" : toFFDCStringSingleObject(value)) + lineSeparator);
  
          hasNext = i.hasNext();
          if (ctr > multiple_object_count_to_ffdc)
          {
            buffer.append("........contd");
            hasNext = false;
          }
        }
      }
  
      buffer.append('}');
  
      return buffer.toString();
    }
docs: Generates a String representation of a Collection, calling toFFDCStringObject for the first multiple_object_count_to_ffdc
  elements
  
  @param aCollection
  @return the string representation of a Collection.