29 lines
796 B
Java
29 lines
796 B
Java
package io.grpc.internal;
|
|
|
|
import com.huawei.hms.framework.common.ContainerUtils;
|
|
import java.util.ArrayList;
|
|
|
|
/* loaded from: classes6.dex */
|
|
public final class InsightBuilder {
|
|
private final ArrayList<String> buffer = new ArrayList<>();
|
|
|
|
public final InsightBuilder append(Object obj) {
|
|
this.buffer.add(String.valueOf(obj));
|
|
return this;
|
|
}
|
|
|
|
public final InsightBuilder appendKeyValue(String str, Object obj) {
|
|
ArrayList<String> arrayList = this.buffer;
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append(str);
|
|
sb.append(ContainerUtils.KEY_VALUE_DELIMITER);
|
|
sb.append(obj);
|
|
arrayList.add(sb.toString());
|
|
return this;
|
|
}
|
|
|
|
public final String toString() {
|
|
return this.buffer.toString();
|
|
}
|
|
}
|