code: public static <C extends Compound> StringBuilder toStringBuilder(Sequence<C> sequence) {
  		StringBuilder sb = new StringBuilder(sequence.getLength());
  		for (C compound : sequence) {
  			sb.append(compound.toString());
  		}
  		return sb;
  	}
docs: For the given Sequence this will return a {@link StringBuilder} object
  filled with the results of {@link Compound#toString()}. Does not
  used {@link #write(java.lang.Appendable, org.biojava.nbio.core.sequence.template.Sequence) }
  because of its {@link IOException} signature.