what-the-bank/sources/io/grpc/internal/InsightBuilder.java

29 lines
796 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
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();
}
}