junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/ToStringBuilder.java
public <T> ToStringBuilder append(String name, Iterable<T> values) {
		StringBuilder pending = new StringBuilder().append(OPEN_ARRAY);
		boolean firstItem = true;

		for (T value : values) {
			if (!firstItem) {
				pending.append(SEPARATOR);
			}

			pending.append(formatValue(value));
			firstItem = false;
		}

		return appendFormattedValue(name, pending.append(CLOSE_ARRAY).toString());
	}
public <T> ToStringBuilder append(String name, Iterable<T> values) {
		StringBuilder pending = new StringBuilder().append(OPEN_ARRAY);
		boolean firstItem = true;

		for (T value : values) {
			if (!firstItem) {
				pending.append(SEPARATOR);
			}

			pending.append(formatValue(value));
			firstItem = false;
		}

		return appendFormattedValue(name, pending.append(CLOSE_ARRAY).toString());
	}
public < T > ToStringBuilder append ( String name , Iterable < T > values ) { StringBuilder pending = new StringBuilder ( ) . append ( OPEN_ARRAY ) ; boolean firstItem = true ; for ( T value : values ) { if ( ! firstItem ) { pending . append ( SEPARATOR ) ; } pending . append ( formatValue ( value ) ) ; firstItem = false ; } return appendFormattedValue ( name , pending . append ( CLOSE_ARRAY ) . toString ( ) ) ; }
Append new boolean value.

@param name The name of the field.
@param values The collection of values.
@param <T> Type of elements in collection.
@return The current builder (for chaining).
Append new boolean value .