Example usage for com.google.common.base Joiner.MapJoiner appendTo

List of usage examples for com.google.common.base Joiner.MapJoiner appendTo

Introduction

In this page you can find the example usage for com.google.common.base Joiner.MapJoiner appendTo.

Prototype

public final StringBuilder appendTo(StringBuilder builder, Object[] parts) 

Source Link

Document

Appends the string representation of each of parts , using the previously configured separator between each, to builder .

Usage

From source file:edu.cmu.lti.oaqa.cse.space.uima.list.ExperimentBuilder.java

private static void appendMethodSignature(StringBuilder sb, Map<String, Object> tuples) {
    Map<String, String> ftuples = Maps.transformValues(tuples, new ObjectFormatter());
    sb.append("[");
    Joiner.MapJoiner joiner = Joiner.on("#").withKeyValueSeparator(":");
    joiner.appendTo(sb, ftuples);
    sb.append("]");
}