Files
rr3-apk/decompiled/sources/com/applovin/impl/mediation/MaxSegmentCollectionImpl.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

52 lines
1.5 KiB
Java

package com.applovin.impl.mediation;
import com.applovin.mediation.MaxSegment;
import com.applovin.mediation.MaxSegmentCollection;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/* loaded from: classes2.dex */
public class MaxSegmentCollectionImpl implements MaxSegmentCollection {
private final List a;
private final Map b;
public static class BuilderImpl implements MaxSegmentCollection.Builder {
private final List a = new ArrayList();
@Override // com.applovin.mediation.MaxSegmentCollection.Builder
public MaxSegmentCollection.Builder addSegment(MaxSegment maxSegment) {
this.a.add(maxSegment);
return this;
}
@Override // com.applovin.mediation.MaxSegmentCollection.Builder
public MaxSegmentCollection build() {
return new MaxSegmentCollectionImpl(this);
}
}
public Map<String, List<Integer>> getJsonData() {
return this.b;
}
@Override // com.applovin.mediation.MaxSegmentCollection
public List<MaxSegment> getSegments() {
return this.a;
}
public String toString() {
return "MaxSegmentColletionImpl{segments=" + this.a + "}";
}
private MaxSegmentCollectionImpl(BuilderImpl builderImpl) {
List<MaxSegment> list = builderImpl.a;
this.a = list;
this.b = new HashMap();
for (MaxSegment maxSegment : list) {
this.b.put("segment_" + maxSegment.getKey(), maxSegment.getValues());
}
}
}