Initial import of ADIF API reverse-engineering toolkit
This commit is contained in:
commit
60388529c1
11486 files changed
+1086536
No files matched your search
@@ -0,0 +1,39 @@
|
||||
package kotlin.collections.builders;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.Map.Entry;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.AbstractMutableSet;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u001e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010&\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0004\b \u0018\u0000*\u0014\b\u0000\u0010\u0001*\u000e\u0012\u0004\u0012\u0002H\u0003\u0012\u0004\u0012\u0002H\u00040\u0002*\u0004\b\u0001\u0010\u0003*\u0004\b\u0002\u0010\u00042\b\u0012\u0004\u0012\u0002H\u00010\u0005B\u0005¢\u0006\u0002\u0010\u0006J\u0016\u0010\u0007\u001a\u00020\b2\u0006\u0010\t\u001a\u00028\u0000H\u0086\u0002¢\u0006\u0002\u0010\nJ\u001c\u0010\u000b\u001a\u00020\b2\u0012\u0010\t\u001a\u000e\u0012\u0004\u0012\u00028\u0001\u0012\u0004\u0012\u00028\u00020\u0002H&¨\u0006\f"}, d2 = {"Lkotlin/collections/builders/AbstractMapBuilderEntrySet;", "E", "", "K", "V", "Lkotlin/collections/AbstractMutableSet;", "()V", "contains", "", "element", "(Ljava/util/Map$Entry;)Z", "containsEntry", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class AbstractMapBuilderEntrySet<E extends Map.Entry<? extends K, ? extends V>, K, V> extends AbstractMutableSet<E> {
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.Set
|
||||
public final /* bridge */ boolean contains(Object obj) {
|
||||
if (obj instanceof Map.Entry) {
|
||||
return contains((AbstractMapBuilderEntrySet<E, K, V>) obj);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public abstract boolean containsEntry(Map.Entry<? extends K, ? extends V> element);
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.Set
|
||||
public final /* bridge */ boolean remove(Object obj) {
|
||||
if (obj instanceof Map.Entry) {
|
||||
return remove((Map.Entry<?, ?>) obj);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public final boolean contains(E element) {
|
||||
Intrinsics.checkNotNullParameter(element, "element");
|
||||
return containsEntry(element);
|
||||
}
|
||||
|
||||
public /* bridge */ boolean remove(Map.Entry<?, ?> entry) {
|
||||
return super.remove((Object) entry);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,555 @@
|
||||
package kotlin.collections.builders;
|
||||
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import java.io.NotSerializableException;
|
||||
import java.io.Serializable;
|
||||
import java.util.AbstractList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.ConcurrentModificationException;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.ListIterator;
|
||||
import java.util.NoSuchElementException;
|
||||
import java.util.RandomAccess;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.AbstractMutableList;
|
||||
import kotlin.collections.ArraysKt;
|
||||
import kotlin.collections.ArraysKt___ArraysJvmKt;
|
||||
import kotlin.collections.CollectionsKt;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
import kotlin.jvm.internal.markers.KMutableList;
|
||||
import kotlin.jvm.internal.markers.KMutableListIterator;
|
||||
|
||||
@Metadata(d1 = {"\u0000r\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010!\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0011\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\f\n\u0002\u0010\u0002\n\u0002\b\u0004\n\u0002\u0010\u001e\n\u0002\b\u0005\n\u0002\u0010 \n\u0002\b\t\n\u0002\u0010\u0000\n\u0002\b\b\n\u0002\u0010)\n\u0002\b\u0002\n\u0002\u0010+\n\u0002\b\u0016\n\u0002\u0010\u000e\n\u0002\b\u0004\b\u0000\u0018\u0000 X*\u0004\b\u0000\u0010\u00012\b\u0012\u0004\u0012\u0002H\u00010\u00022\u00060\u0003j\u0002`\u00042\b\u0012\u0004\u0012\u0002H\u00010\u00052\u00060\u0006j\u0002`\u0007:\u0002XYB\u0007\b\u0016¢\u0006\u0002\u0010\bB\u000f\b\u0016\u0012\u0006\u0010\t\u001a\u00020\n¢\u0006\u0002\u0010\u000bBM\b\u0002\u0012\f\u0010\f\u001a\b\u0012\u0004\u0012\u00028\u00000\r\u0012\u0006\u0010\u000e\u001a\u00020\n\u0012\u0006\u0010\u000f\u001a\u00020\n\u0012\u0006\u0010\u0010\u001a\u00020\u0011\u0012\u000e\u0010\u0012\u001a\n\u0012\u0004\u0012\u00028\u0000\u0018\u00010\u0000\u0012\u000e\u0010\u0013\u001a\n\u0012\u0004\u0012\u00028\u0000\u0018\u00010\u0000¢\u0006\u0002\u0010\u0014J\u0015\u0010\u001b\u001a\u00020\u00112\u0006\u0010\u001c\u001a\u00028\u0000H\u0016¢\u0006\u0002\u0010\u001dJ\u001d\u0010\u001b\u001a\u00020\u001e2\u0006\u0010\u001f\u001a\u00020\n2\u0006\u0010\u001c\u001a\u00028\u0000H\u0016¢\u0006\u0002\u0010 J\u001e\u0010!\u001a\u00020\u00112\u0006\u0010\u001f\u001a\u00020\n2\f\u0010\"\u001a\b\u0012\u0004\u0012\u00028\u00000#H\u0016J\u0016\u0010!\u001a\u00020\u00112\f\u0010\"\u001a\b\u0012\u0004\u0012\u00028\u00000#H\u0016J&\u0010$\u001a\u00020\u001e2\u0006\u0010%\u001a\u00020\n2\f\u0010\"\u001a\b\u0012\u0004\u0012\u00028\u00000#2\u0006\u0010&\u001a\u00020\nH\u0002J\u001d\u0010'\u001a\u00020\u001e2\u0006\u0010%\u001a\u00020\n2\u0006\u0010\u001c\u001a\u00028\u0000H\u0002¢\u0006\u0002\u0010 J\f\u0010(\u001a\b\u0012\u0004\u0012\u00028\u00000)J\b\u0010*\u001a\u00020\u001eH\u0002J\b\u0010+\u001a\u00020\u001eH\u0002J\b\u0010,\u001a\u00020\u001eH\u0016J\u0014\u0010-\u001a\u00020\u00112\n\u0010.\u001a\u0006\u0012\u0002\b\u00030)H\u0002J\u0010\u0010/\u001a\u00020\u001e2\u0006\u00100\u001a\u00020\nH\u0002J\u0010\u00101\u001a\u00020\u001e2\u0006\u0010&\u001a\u00020\nH\u0002J\u0013\u00102\u001a\u00020\u00112\b\u0010.\u001a\u0004\u0018\u000103H\u0096\u0002J\u0016\u00104\u001a\u00028\u00002\u0006\u0010\u001f\u001a\u00020\nH\u0096\u0002¢\u0006\u0002\u00105J\b\u00106\u001a\u00020\nH\u0016J\u0015\u00107\u001a\u00020\n2\u0006\u0010\u001c\u001a\u00028\u0000H\u0016¢\u0006\u0002\u00108J\u0018\u00109\u001a\u00020\u001e2\u0006\u0010%\u001a\u00020\n2\u0006\u0010&\u001a\u00020\nH\u0002J\b\u0010:\u001a\u00020\u0011H\u0016J\u000f\u0010;\u001a\b\u0012\u0004\u0012\u00028\u00000<H\u0096\u0002J\u0015\u0010=\u001a\u00020\n2\u0006\u0010\u001c\u001a\u00028\u0000H\u0016¢\u0006\u0002\u00108J\u000e\u0010>\u001a\b\u0012\u0004\u0012\u00028\u00000?H\u0016J\u0016\u0010>\u001a\b\u0012\u0004\u0012\u00028\u00000?2\u0006\u0010\u001f\u001a\u00020\nH\u0016J\b\u0010@\u001a\u00020\u001eH\u0002J\u0015\u0010A\u001a\u00020\u00112\u0006\u0010\u001c\u001a\u00028\u0000H\u0016¢\u0006\u0002\u0010\u001dJ\u0016\u0010B\u001a\u00020\u00112\f\u0010\"\u001a\b\u0012\u0004\u0012\u00028\u00000#H\u0016J\u0015\u0010C\u001a\u00028\u00002\u0006\u0010\u001f\u001a\u00020\nH\u0016¢\u0006\u0002\u00105J\u0015\u0010D\u001a\u00028\u00002\u0006\u0010%\u001a\u00020\nH\u0002¢\u0006\u0002\u00105J\u0018\u0010E\u001a\u00020\u001e2\u0006\u0010F\u001a\u00020\n2\u0006\u0010G\u001a\u00020\nH\u0002J\u0016\u0010H\u001a\u00020\u00112\f\u0010\"\u001a\b\u0012\u0004\u0012\u00028\u00000#H\u0016J.\u0010I\u001a\u00020\n2\u0006\u0010F\u001a\u00020\n2\u0006\u0010G\u001a\u00020\n2\f\u0010\"\u001a\b\u0012\u0004\u0012\u00028\u00000#2\u0006\u0010J\u001a\u00020\u0011H\u0002J\u001e\u0010K\u001a\u00028\u00002\u0006\u0010\u001f\u001a\u00020\n2\u0006\u0010\u001c\u001a\u00028\u0000H\u0096\u0002¢\u0006\u0002\u0010LJ\u001e\u0010M\u001a\b\u0012\u0004\u0012\u00028\u00000\u00022\u0006\u0010N\u001a\u00020\n2\u0006\u0010O\u001a\u00020\nH\u0016J\u0015\u0010P\u001a\n\u0012\u0006\u0012\u0004\u0018\u0001030\rH\u0016¢\u0006\u0002\u0010QJ'\u0010P\u001a\b\u0012\u0004\u0012\u0002HR0\r\"\u0004\b\u0001\u0010R2\f\u0010S\u001a\b\u0012\u0004\u0012\u0002HR0\rH\u0016¢\u0006\u0002\u0010TJ\b\u0010U\u001a\u00020VH\u0016J\b\u0010W\u001a\u000203H\u0002R\u0016\u0010\f\u001a\b\u0012\u0004\u0012\u00028\u00000\rX\u0082\u000e¢\u0006\u0004\n\u0002\u0010\u0015R\u0016\u0010\u0012\u001a\n\u0012\u0004\u0012\u00028\u0000\u0018\u00010\u0000X\u0082\u0004¢\u0006\u0002\n\u0000R\u0014\u0010\u0016\u001a\u00020\u00118BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b\u0016\u0010\u0017R\u000e\u0010\u0010\u001a\u00020\u0011X\u0082\u000e¢\u0006\u0002\n\u0000R\u000e\u0010\u000f\u001a\u00020\nX\u0082\u000e¢\u0006\u0002\n\u0000R\u000e\u0010\u000e\u001a\u00020\nX\u0082\u000e¢\u0006\u0002\n\u0000R\u0016\u0010\u0013\u001a\n\u0012\u0004\u0012\uLine truncated
|
||||
@SourceDebugExtension({"SMAP\nListBuilder.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ListBuilder.kt\nkotlin/collections/builders/ListBuilder\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,487:1\n1#2:488\n*E\n"})
|
||||
/* loaded from: classes3.dex */
|
||||
public final class ListBuilder<E> extends AbstractMutableList<E> implements List<E>, RandomAccess, Serializable, KMutableList {
|
||||
private static final Companion Companion = new Companion(null);
|
||||
private static final ListBuilder Empty;
|
||||
private E[] array;
|
||||
private final ListBuilder<E> backing;
|
||||
private boolean isReadOnly;
|
||||
private int length;
|
||||
private int offset;
|
||||
private final ListBuilder<E> root;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0001\n\u0000\b\u0082\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0014\u0010\u0003\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\u0006"}, d2 = {"Lkotlin/collections/builders/ListBuilder$Companion;", "", "()V", "Empty", "Lkotlin/collections/builders/ListBuilder;", "", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
@Metadata(d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010+\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0004\n\u0002\u0010\u0002\n\u0002\b\u0004\n\u0002\u0010\u000b\n\u0002\b\t\b\u0002\u0018\u0000*\u0004\b\u0001\u0010\u00012\b\u0012\u0004\u0012\u0002H\u00010\u0002B\u001d\b\u0016\u0012\f\u0010\u0003\u001a\b\u0012\u0004\u0012\u00028\u00010\u0004\u0012\u0006\u0010\u0005\u001a\u00020\u0006¢\u0006\u0002\u0010\u0007J\u0015\u0010\n\u001a\u00020\u000b2\u0006\u0010\f\u001a\u00028\u0001H\u0016¢\u0006\u0002\u0010\rJ\b\u0010\u000e\u001a\u00020\u000bH\u0002J\t\u0010\u000f\u001a\u00020\u0010H\u0096\u0002J\b\u0010\u0011\u001a\u00020\u0010H\u0016J\u000e\u0010\u0012\u001a\u00028\u0001H\u0096\u0002¢\u0006\u0002\u0010\u0013J\b\u0010\u0014\u001a\u00020\u0006H\u0016J\r\u0010\u0015\u001a\u00028\u0001H\u0016¢\u0006\u0002\u0010\u0013J\b\u0010\u0016\u001a\u00020\u0006H\u0016J\b\u0010\u0017\u001a\u00020\u000bH\u0016J\u0015\u0010\u0018\u001a\u00020\u000b2\u0006\u0010\f\u001a\u00028\u0001H\u0016¢\u0006\u0002\u0010\rR\u000e\u0010\b\u001a\u00020\u0006X\u0082\u000e¢\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u000e¢\u0006\u0002\n\u0000R\u000e\u0010\t\u001a\u00020\u0006X\u0082\u000e¢\u0006\u0002\n\u0000R\u0014\u0010\u0003\u001a\b\u0012\u0004\u0012\u00028\u00010\u0004X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\u0019"}, d2 = {"Lkotlin/collections/builders/ListBuilder$Itr;", "E", "", "list", "Lkotlin/collections/builders/ListBuilder;", FirebaseAnalytics.Param.INDEX, "", "(Lkotlin/collections/builders/ListBuilder;I)V", "expectedModCount", "lastIndex", "add", "", "element", "(Ljava/lang/Object;)V", "checkForComodification", "hasNext", "", "hasPrevious", "next", "()Ljava/lang/Object;", "nextIndex", "previous", "previousIndex", "remove", "set", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nListBuilder.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ListBuilder.kt\nkotlin/collections/builders/ListBuilder$Itr\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,487:1\n1#2:488\n*E\n"})
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class Itr<E> implements ListIterator<E>, KMutableListIterator {
|
||||
private int expectedModCount;
|
||||
private int index;
|
||||
private int lastIndex;
|
||||
private final ListBuilder<E> list;
|
||||
|
||||
public Itr(ListBuilder<E> list, int i) {
|
||||
Intrinsics.checkNotNullParameter(list, "list");
|
||||
this.list = list;
|
||||
this.index = i;
|
||||
this.lastIndex = -1;
|
||||
this.expectedModCount = ((AbstractList) list).modCount;
|
||||
}
|
||||
|
||||
private final void checkForComodification() {
|
||||
if (((AbstractList) this.list).modCount != this.expectedModCount) {
|
||||
throw new ConcurrentModificationException();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // java.util.ListIterator
|
||||
public void add(E element) {
|
||||
checkForComodification();
|
||||
ListBuilder<E> listBuilder = this.list;
|
||||
int i = this.index;
|
||||
this.index = i + 1;
|
||||
listBuilder.add(i, element);
|
||||
this.lastIndex = -1;
|
||||
this.expectedModCount = ((AbstractList) this.list).modCount;
|
||||
}
|
||||
|
||||
@Override // java.util.ListIterator, java.util.Iterator
|
||||
public boolean hasNext() {
|
||||
return this.index < ((ListBuilder) this.list).length;
|
||||
}
|
||||
|
||||
@Override // java.util.ListIterator
|
||||
public boolean hasPrevious() {
|
||||
return this.index > 0;
|
||||
}
|
||||
|
||||
@Override // java.util.ListIterator, java.util.Iterator
|
||||
public E next() {
|
||||
checkForComodification();
|
||||
if (this.index >= ((ListBuilder) this.list).length) {
|
||||
throw new NoSuchElementException();
|
||||
}
|
||||
int i = this.index;
|
||||
this.index = i + 1;
|
||||
this.lastIndex = i;
|
||||
return (E) ((ListBuilder) this.list).array[((ListBuilder) this.list).offset + this.lastIndex];
|
||||
}
|
||||
|
||||
@Override // java.util.ListIterator
|
||||
public int nextIndex() {
|
||||
return this.index;
|
||||
}
|
||||
|
||||
@Override // java.util.ListIterator
|
||||
public E previous() {
|
||||
checkForComodification();
|
||||
int i = this.index;
|
||||
if (i <= 0) {
|
||||
throw new NoSuchElementException();
|
||||
}
|
||||
int i4 = i - 1;
|
||||
this.index = i4;
|
||||
this.lastIndex = i4;
|
||||
return (E) ((ListBuilder) this.list).array[((ListBuilder) this.list).offset + this.lastIndex];
|
||||
}
|
||||
|
||||
@Override // java.util.ListIterator
|
||||
public int previousIndex() {
|
||||
return this.index - 1;
|
||||
}
|
||||
|
||||
@Override // java.util.ListIterator, java.util.Iterator
|
||||
public void remove() {
|
||||
checkForComodification();
|
||||
int i = this.lastIndex;
|
||||
if (i == -1) {
|
||||
throw new IllegalStateException("Call next() or previous() before removing element from the iterator.");
|
||||
}
|
||||
this.list.remove(i);
|
||||
this.index = this.lastIndex;
|
||||
this.lastIndex = -1;
|
||||
this.expectedModCount = ((AbstractList) this.list).modCount;
|
||||
}
|
||||
|
||||
@Override // java.util.ListIterator
|
||||
public void set(E element) {
|
||||
checkForComodification();
|
||||
int i = this.lastIndex;
|
||||
if (i == -1) {
|
||||
throw new IllegalStateException("Call next() or previous() before replacing element from the iterator.");
|
||||
}
|
||||
this.list.set(i, element);
|
||||
}
|
||||
}
|
||||
|
||||
static {
|
||||
ListBuilder listBuilder = new ListBuilder(0);
|
||||
listBuilder.isReadOnly = true;
|
||||
Empty = listBuilder;
|
||||
}
|
||||
|
||||
private ListBuilder(E[] eArr, int i, int i4, boolean z3, ListBuilder<E> listBuilder, ListBuilder<E> listBuilder2) {
|
||||
this.array = eArr;
|
||||
this.offset = i;
|
||||
this.length = i4;
|
||||
this.isReadOnly = z3;
|
||||
this.backing = listBuilder;
|
||||
this.root = listBuilder2;
|
||||
if (listBuilder != null) {
|
||||
((AbstractList) this).modCount = ((AbstractList) listBuilder).modCount;
|
||||
}
|
||||
}
|
||||
|
||||
private final void addAllInternal(int i, Collection<? extends E> elements, int n4) {
|
||||
registerModification();
|
||||
ListBuilder<E> listBuilder = this.backing;
|
||||
if (listBuilder != null) {
|
||||
listBuilder.addAllInternal(i, elements, n4);
|
||||
this.array = this.backing.array;
|
||||
this.length += n4;
|
||||
} else {
|
||||
insertAtInternal(i, n4);
|
||||
Iterator<? extends E> it = elements.iterator();
|
||||
for (int i4 = 0; i4 < n4; i4++) {
|
||||
this.array[i + i4] = it.next();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private final void addAtInternal(int i, E element) {
|
||||
registerModification();
|
||||
ListBuilder<E> listBuilder = this.backing;
|
||||
if (listBuilder == null) {
|
||||
insertAtInternal(i, 1);
|
||||
this.array[i] = element;
|
||||
} else {
|
||||
listBuilder.addAtInternal(i, element);
|
||||
this.array = this.backing.array;
|
||||
this.length++;
|
||||
}
|
||||
}
|
||||
|
||||
private final void checkForComodification() {
|
||||
ListBuilder<E> listBuilder = this.root;
|
||||
if (listBuilder != null && ((AbstractList) listBuilder).modCount != ((AbstractList) this).modCount) {
|
||||
throw new ConcurrentModificationException();
|
||||
}
|
||||
}
|
||||
|
||||
private final void checkIsMutable() {
|
||||
if (isEffectivelyReadOnly()) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
}
|
||||
|
||||
private final boolean contentEquals(List<?> other) {
|
||||
boolean subarrayContentEquals;
|
||||
subarrayContentEquals = ListBuilderKt.subarrayContentEquals(this.array, this.offset, this.length, other);
|
||||
return subarrayContentEquals;
|
||||
}
|
||||
|
||||
private final void ensureCapacityInternal(int minCapacity) {
|
||||
if (minCapacity < 0) {
|
||||
throw new OutOfMemoryError();
|
||||
}
|
||||
E[] eArr = this.array;
|
||||
if (minCapacity > eArr.length) {
|
||||
this.array = (E[]) ListBuilderKt.copyOfUninitializedElements(this.array, kotlin.collections.AbstractList.INSTANCE.newCapacity$kotlin_stdlib(eArr.length, minCapacity));
|
||||
}
|
||||
}
|
||||
|
||||
private final void ensureExtraCapacity(int n4) {
|
||||
ensureCapacityInternal(this.length + n4);
|
||||
}
|
||||
|
||||
private final void insertAtInternal(int i, int n4) {
|
||||
ensureExtraCapacity(n4);
|
||||
E[] eArr = this.array;
|
||||
ArraysKt___ArraysJvmKt.copyInto(eArr, eArr, i + n4, i, this.offset + this.length);
|
||||
this.length += n4;
|
||||
}
|
||||
|
||||
private final boolean isEffectivelyReadOnly() {
|
||||
if (this.isReadOnly) {
|
||||
return true;
|
||||
}
|
||||
ListBuilder<E> listBuilder = this.root;
|
||||
return listBuilder != null && listBuilder.isReadOnly;
|
||||
}
|
||||
|
||||
private final void registerModification() {
|
||||
((AbstractList) this).modCount++;
|
||||
}
|
||||
|
||||
private final E removeAtInternal(int i) {
|
||||
registerModification();
|
||||
ListBuilder<E> listBuilder = this.backing;
|
||||
if (listBuilder != null) {
|
||||
this.length--;
|
||||
return listBuilder.removeAtInternal(i);
|
||||
}
|
||||
E[] eArr = this.array;
|
||||
E e4 = eArr[i];
|
||||
ArraysKt___ArraysJvmKt.copyInto(eArr, eArr, i, i + 1, this.offset + this.length);
|
||||
ListBuilderKt.resetAt(this.array, (this.offset + this.length) - 1);
|
||||
this.length--;
|
||||
return e4;
|
||||
}
|
||||
|
||||
private final void removeRangeInternal(int rangeOffset, int rangeLength) {
|
||||
if (rangeLength > 0) {
|
||||
registerModification();
|
||||
}
|
||||
ListBuilder<E> listBuilder = this.backing;
|
||||
if (listBuilder != null) {
|
||||
listBuilder.removeRangeInternal(rangeOffset, rangeLength);
|
||||
} else {
|
||||
E[] eArr = this.array;
|
||||
ArraysKt___ArraysJvmKt.copyInto(eArr, eArr, rangeOffset, rangeOffset + rangeLength, this.length);
|
||||
E[] eArr2 = this.array;
|
||||
int i = this.length;
|
||||
ListBuilderKt.resetRange(eArr2, i - rangeLength, i);
|
||||
}
|
||||
this.length -= rangeLength;
|
||||
}
|
||||
|
||||
private final int retainOrRemoveAllInternal(int rangeOffset, int rangeLength, Collection<? extends E> elements, boolean retain) {
|
||||
int i;
|
||||
ListBuilder<E> listBuilder = this.backing;
|
||||
if (listBuilder != null) {
|
||||
i = listBuilder.retainOrRemoveAllInternal(rangeOffset, rangeLength, elements, retain);
|
||||
} else {
|
||||
int i4 = 0;
|
||||
int i5 = 0;
|
||||
while (i4 < rangeLength) {
|
||||
int i6 = rangeOffset + i4;
|
||||
if (elements.contains(this.array[i6]) == retain) {
|
||||
E[] eArr = this.array;
|
||||
i4++;
|
||||
eArr[i5 + rangeOffset] = eArr[i6];
|
||||
i5++;
|
||||
} else {
|
||||
i4++;
|
||||
}
|
||||
}
|
||||
int i7 = rangeLength - i5;
|
||||
E[] eArr2 = this.array;
|
||||
ArraysKt___ArraysJvmKt.copyInto(eArr2, eArr2, rangeOffset + i5, rangeLength + rangeOffset, this.length);
|
||||
E[] eArr3 = this.array;
|
||||
int i8 = this.length;
|
||||
ListBuilderKt.resetRange(eArr3, i8 - i7, i8);
|
||||
i = i7;
|
||||
}
|
||||
if (i > 0) {
|
||||
registerModification();
|
||||
}
|
||||
this.length -= i;
|
||||
return i;
|
||||
}
|
||||
|
||||
private final Object writeReplace() {
|
||||
if (isEffectivelyReadOnly()) {
|
||||
return new SerializedCollection(this, 0);
|
||||
}
|
||||
throw new NotSerializableException("The list cannot be serialized while it is being built.");
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractList, java.util.AbstractCollection, java.util.Collection, java.util.List
|
||||
public boolean add(E element) {
|
||||
checkIsMutable();
|
||||
checkForComodification();
|
||||
addAtInternal(this.offset + this.length, element);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
|
||||
public boolean addAll(Collection<? extends E> elements) {
|
||||
Intrinsics.checkNotNullParameter(elements, "elements");
|
||||
checkIsMutable();
|
||||
checkForComodification();
|
||||
int size = elements.size();
|
||||
addAllInternal(this.offset + this.length, elements, size);
|
||||
return size > 0;
|
||||
}
|
||||
|
||||
public final List<E> build() {
|
||||
if (this.backing != null) {
|
||||
throw new IllegalStateException();
|
||||
}
|
||||
checkIsMutable();
|
||||
this.isReadOnly = true;
|
||||
return this.length > 0 ? this : Empty;
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractList, java.util.AbstractCollection, java.util.Collection, java.util.List
|
||||
public void clear() {
|
||||
checkIsMutable();
|
||||
checkForComodification();
|
||||
removeRangeInternal(this.offset, this.length);
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractList, java.util.Collection, java.util.List
|
||||
public boolean equals(Object other) {
|
||||
checkForComodification();
|
||||
if (other != this) {
|
||||
return (other instanceof List) && contentEquals((List) other);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractList, java.util.List
|
||||
public E get(int index) {
|
||||
checkForComodification();
|
||||
kotlin.collections.AbstractList.INSTANCE.checkElementIndex$kotlin_stdlib(index, this.length);
|
||||
return this.array[this.offset + index];
|
||||
}
|
||||
|
||||
@Override // kotlin.collections.AbstractMutableList
|
||||
public int getSize() {
|
||||
checkForComodification();
|
||||
return this.length;
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractList, java.util.Collection, java.util.List
|
||||
public int hashCode() {
|
||||
int subarrayContentHashCode;
|
||||
checkForComodification();
|
||||
subarrayContentHashCode = ListBuilderKt.subarrayContentHashCode(this.array, this.offset, this.length);
|
||||
return subarrayContentHashCode;
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractList, java.util.List
|
||||
public int indexOf(Object element) {
|
||||
checkForComodification();
|
||||
for (int i = 0; i < this.length; i++) {
|
||||
if (Intrinsics.areEqual(this.array[this.offset + i], element)) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
|
||||
public boolean isEmpty() {
|
||||
checkForComodification();
|
||||
return this.length == 0;
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractList, java.util.AbstractCollection, java.util.Collection, java.lang.Iterable, java.util.List
|
||||
public Iterator<E> iterator() {
|
||||
return listIterator(0);
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractList, java.util.List
|
||||
public int lastIndexOf(Object element) {
|
||||
checkForComodification();
|
||||
for (int i = this.length - 1; i >= 0; i--) {
|
||||
if (Intrinsics.areEqual(this.array[this.offset + i], element)) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractList, java.util.List
|
||||
public ListIterator<E> listIterator() {
|
||||
return listIterator(0);
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
|
||||
public boolean remove(Object element) {
|
||||
checkIsMutable();
|
||||
checkForComodification();
|
||||
int indexOf = indexOf(element);
|
||||
if (indexOf >= 0) {
|
||||
remove(indexOf);
|
||||
}
|
||||
return indexOf >= 0;
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
|
||||
public boolean removeAll(Collection<? extends Object> elements) {
|
||||
Intrinsics.checkNotNullParameter(elements, "elements");
|
||||
checkIsMutable();
|
||||
checkForComodification();
|
||||
return retainOrRemoveAllInternal(this.offset, this.length, elements, false) > 0;
|
||||
}
|
||||
|
||||
@Override // kotlin.collections.AbstractMutableList
|
||||
public E removeAt(int index) {
|
||||
checkIsMutable();
|
||||
checkForComodification();
|
||||
kotlin.collections.AbstractList.INSTANCE.checkElementIndex$kotlin_stdlib(index, this.length);
|
||||
return removeAtInternal(this.offset + index);
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
|
||||
public boolean retainAll(Collection<? extends Object> elements) {
|
||||
Intrinsics.checkNotNullParameter(elements, "elements");
|
||||
checkIsMutable();
|
||||
checkForComodification();
|
||||
return retainOrRemoveAllInternal(this.offset, this.length, elements, true) > 0;
|
||||
}
|
||||
|
||||
@Override // kotlin.collections.AbstractMutableList, java.util.AbstractList, java.util.List
|
||||
public E set(int index, E element) {
|
||||
checkIsMutable();
|
||||
checkForComodification();
|
||||
kotlin.collections.AbstractList.INSTANCE.checkElementIndex$kotlin_stdlib(index, this.length);
|
||||
E[] eArr = this.array;
|
||||
int i = this.offset;
|
||||
E e4 = eArr[i + index];
|
||||
eArr[i + index] = element;
|
||||
return e4;
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractList, java.util.List
|
||||
public List<E> subList(int fromIndex, int toIndex) {
|
||||
kotlin.collections.AbstractList.INSTANCE.checkRangeIndexes$kotlin_stdlib(fromIndex, toIndex, this.length);
|
||||
E[] eArr = this.array;
|
||||
int i = this.offset + fromIndex;
|
||||
int i4 = toIndex - fromIndex;
|
||||
boolean z3 = this.isReadOnly;
|
||||
ListBuilder<E> listBuilder = this.root;
|
||||
return new ListBuilder(eArr, i, i4, z3, this, listBuilder == null ? this : listBuilder);
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
|
||||
public <T> T[] toArray(T[] destination) {
|
||||
Intrinsics.checkNotNullParameter(destination, "destination");
|
||||
checkForComodification();
|
||||
int length = destination.length;
|
||||
int i = this.length;
|
||||
if (length < i) {
|
||||
E[] eArr = this.array;
|
||||
int i4 = this.offset;
|
||||
T[] tArr = (T[]) Arrays.copyOfRange(eArr, i4, i + i4, destination.getClass());
|
||||
Intrinsics.checkNotNullExpressionValue(tArr, "copyOfRange(...)");
|
||||
return tArr;
|
||||
}
|
||||
E[] eArr2 = this.array;
|
||||
int i5 = this.offset;
|
||||
ArraysKt___ArraysJvmKt.copyInto(eArr2, destination, 0, i5, i + i5);
|
||||
return (T[]) CollectionsKt.terminateCollectionToArray(this.length, destination);
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection
|
||||
public String toString() {
|
||||
String subarrayContentToString;
|
||||
checkForComodification();
|
||||
subarrayContentToString = ListBuilderKt.subarrayContentToString(this.array, this.offset, this.length, this);
|
||||
return subarrayContentToString;
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractList, java.util.List
|
||||
public ListIterator<E> listIterator(int index) {
|
||||
checkForComodification();
|
||||
kotlin.collections.AbstractList.INSTANCE.checkPositionIndex$kotlin_stdlib(index, this.length);
|
||||
return new Itr(this, index);
|
||||
}
|
||||
|
||||
@Override // kotlin.collections.AbstractMutableList, java.util.AbstractList, java.util.List
|
||||
public void add(int index, E element) {
|
||||
checkIsMutable();
|
||||
checkForComodification();
|
||||
kotlin.collections.AbstractList.INSTANCE.checkPositionIndex$kotlin_stdlib(index, this.length);
|
||||
addAtInternal(this.offset + index, element);
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractList, java.util.List
|
||||
public boolean addAll(int index, Collection<? extends E> elements) {
|
||||
Intrinsics.checkNotNullParameter(elements, "elements");
|
||||
checkIsMutable();
|
||||
checkForComodification();
|
||||
kotlin.collections.AbstractList.INSTANCE.checkPositionIndex$kotlin_stdlib(index, this.length);
|
||||
int size = elements.size();
|
||||
addAllInternal(this.offset + index, elements, size);
|
||||
return size > 0;
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
|
||||
public Object[] toArray() {
|
||||
checkForComodification();
|
||||
E[] eArr = this.array;
|
||||
int i = this.offset;
|
||||
return ArraysKt.copyOfRange(eArr, i, this.length + i);
|
||||
}
|
||||
|
||||
public ListBuilder() {
|
||||
this(10);
|
||||
}
|
||||
|
||||
public ListBuilder(int i) {
|
||||
this(ListBuilderKt.arrayOfUninitializedElements(i), 0, 0, false, null, null);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
package kotlin.collections.builders;
|
||||
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
|
||||
@Metadata(d1 = {"\u00008\n\u0000\n\u0002\u0010\u0011\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0006\n\u0002\u0010\u0002\n\u0002\b\u0007\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010 \n\u0002\b\u0004\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u001e\n\u0002\b\u0002\u001a!\u0010\u0000\u001a\b\u0012\u0004\u0012\u0002H\u00020\u0001\"\u0004\b\u0000\u0010\u00022\u0006\u0010\u0003\u001a\u00020\u0004H\u0000¢\u0006\u0002\u0010\u0005\u001a+\u0010\u0006\u001a\b\u0012\u0004\u0012\u0002H\u00070\u0001\"\u0004\b\u0000\u0010\u0007*\b\u0012\u0004\u0012\u0002H\u00070\u00012\u0006\u0010\b\u001a\u00020\u0004H\u0000¢\u0006\u0002\u0010\t\u001a%\u0010\n\u001a\u00020\u000b\"\u0004\b\u0000\u0010\u0002*\b\u0012\u0004\u0012\u0002H\u00020\u00012\u0006\u0010\f\u001a\u00020\u0004H\u0000¢\u0006\u0002\u0010\r\u001a-\u0010\u000e\u001a\u00020\u000b\"\u0004\b\u0000\u0010\u0002*\b\u0012\u0004\u0012\u0002H\u00020\u00012\u0006\u0010\u000f\u001a\u00020\u00042\u0006\u0010\u0010\u001a\u00020\u0004H\u0000¢\u0006\u0002\u0010\u0011\u001a9\u0010\u0012\u001a\u00020\u0013\"\u0004\b\u0000\u0010\u0007*\b\u0012\u0004\u0012\u0002H\u00070\u00012\u0006\u0010\u0014\u001a\u00020\u00042\u0006\u0010\u0015\u001a\u00020\u00042\n\u0010\u0016\u001a\u0006\u0012\u0002\b\u00030\u0017H\u0002¢\u0006\u0002\u0010\u0018\u001a-\u0010\u0019\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0007*\b\u0012\u0004\u0012\u0002H\u00070\u00012\u0006\u0010\u0014\u001a\u00020\u00042\u0006\u0010\u0015\u001a\u00020\u0004H\u0002¢\u0006\u0002\u0010\u001a\u001a=\u0010\u001b\u001a\u00020\u001c\"\u0004\b\u0000\u0010\u0007*\n\u0012\u0006\b\u0001\u0012\u0002H\u00070\u00012\u0006\u0010\u0014\u001a\u00020\u00042\u0006\u0010\u0015\u001a\u00020\u00042\f\u0010\u001d\u001a\b\u0012\u0004\u0012\u0002H\u00070\u001eH\u0002¢\u0006\u0002\u0010\u001f¨\u0006 "}, d2 = {"arrayOfUninitializedElements", "", "E", "size", "", "(I)[Ljava/lang/Object;", "copyOfUninitializedElements", "T", "newSize", "([Ljava/lang/Object;I)[Ljava/lang/Object;", "resetAt", "", FirebaseAnalytics.Param.INDEX, "([Ljava/lang/Object;I)V", "resetRange", "fromIndex", "toIndex", "([Ljava/lang/Object;II)V", "subarrayContentEquals", "", "offset", "length", "other", "", "([Ljava/lang/Object;IILjava/util/List;)Z", "subarrayContentHashCode", "([Ljava/lang/Object;II)I", "subarrayContentToString", "", "thisCollection", "", "([Ljava/lang/Object;IILjava/util/Collection;)Ljava/lang/String;", "kotlin-stdlib"}, k = 2, mv = {1, 9, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nListBuilder.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ListBuilder.kt\nkotlin/collections/builders/ListBuilderKt\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,487:1\n1#2:488\n*E\n"})
|
||||
/* loaded from: classes3.dex */
|
||||
public final class ListBuilderKt {
|
||||
public static final <E> E[] arrayOfUninitializedElements(int i) {
|
||||
if (i >= 0) {
|
||||
return (E[]) new Object[i];
|
||||
}
|
||||
throw new IllegalArgumentException("capacity must be non-negative.");
|
||||
}
|
||||
|
||||
public static final <T> T[] copyOfUninitializedElements(T[] tArr, int i) {
|
||||
Intrinsics.checkNotNullParameter(tArr, "<this>");
|
||||
T[] tArr2 = (T[]) Arrays.copyOf(tArr, i);
|
||||
Intrinsics.checkNotNullExpressionValue(tArr2, "copyOf(...)");
|
||||
return tArr2;
|
||||
}
|
||||
|
||||
public static final <E> void resetAt(E[] eArr, int i) {
|
||||
Intrinsics.checkNotNullParameter(eArr, "<this>");
|
||||
eArr[i] = null;
|
||||
}
|
||||
|
||||
public static final <E> void resetRange(E[] eArr, int i, int i4) {
|
||||
Intrinsics.checkNotNullParameter(eArr, "<this>");
|
||||
while (i < i4) {
|
||||
resetAt(eArr, i);
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final <T> boolean subarrayContentEquals(T[] tArr, int i, int i4, List<?> list) {
|
||||
if (i4 != list.size()) {
|
||||
return false;
|
||||
}
|
||||
for (int i5 = 0; i5 < i4; i5++) {
|
||||
if (!Intrinsics.areEqual(tArr[i + i5], list.get(i5))) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final <T> int subarrayContentHashCode(T[] tArr, int i, int i4) {
|
||||
int i5 = 1;
|
||||
for (int i6 = 0; i6 < i4; i6++) {
|
||||
T t2 = tArr[i + i6];
|
||||
i5 = (i5 * 31) + (t2 != null ? t2.hashCode() : 0);
|
||||
}
|
||||
return i5;
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final <T> String subarrayContentToString(T[] tArr, int i, int i4, Collection<? extends T> collection) {
|
||||
StringBuilder sb = new StringBuilder((i4 * 3) + 2);
|
||||
sb.append("[");
|
||||
for (int i5 = 0; i5 < i4; i5++) {
|
||||
if (i5 > 0) {
|
||||
sb.append(", ");
|
||||
}
|
||||
T t2 = tArr[i + i5];
|
||||
if (t2 == collection) {
|
||||
sb.append("(this Collection)");
|
||||
} else {
|
||||
sb.append(t2);
|
||||
}
|
||||
}
|
||||
sb.append("]");
|
||||
String sb2 = sb.toString();
|
||||
Intrinsics.checkNotNullExpressionValue(sb2, "toString(...)");
|
||||
return sb2;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,916 @@
|
||||
package kotlin.collections.builders;
|
||||
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import com.google.firebase.crashlytics.internal.metadata.UserMetadata;
|
||||
import com.google.firebase.messaging.Constants;
|
||||
import com.google.firebase.remoteconfig.RemoteConfigConstants;
|
||||
import java.io.NotSerializableException;
|
||||
import java.io.Serializable;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.ConcurrentModificationException;
|
||||
import java.util.Iterator;
|
||||
import java.util.Map;
|
||||
import java.util.NoSuchElementException;
|
||||
import java.util.Set;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.AbstractList;
|
||||
import kotlin.collections.ArraysKt;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
import kotlin.jvm.internal.markers.KMutableIterator;
|
||||
import kotlin.jvm.internal.markers.KMutableMap;
|
||||
import kotlin.ranges.IntRange;
|
||||
import kotlin.ranges.RangesKt;
|
||||
|
||||
@Metadata(d1 = {"\u0000¨\u0001\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010%\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0011\n\u0002\b\u0002\n\u0002\u0010\u0015\n\u0002\b\b\n\u0002\u0010#\n\u0002\u0010'\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u000b\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u001f\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0010$\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0005\n\u0002\u0010\u001e\n\u0002\b\u0003\n\u0002\u0010&\n\u0002\b\f\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0000\n\u0002\b\b\n\u0002\u0018\u0002\n\u0002\b\u001b\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\t\b\u0000\u0018\u0000 \u0080\u0001*\u0004\b\u0000\u0010\u0001*\u0004\b\u0001\u0010\u00022\u000e\u0012\u0004\u0012\u0002H\u0001\u0012\u0004\u0012\u0002H\u00020\u00032\u00060\u0004j\u0002`\u0005:\f\u0080\u0001\u0081\u0001\u0082\u0001\u0083\u0001\u0084\u0001\u0085\u0001B\u0007\b\u0016¢\u0006\u0002\u0010\u0006B\u000f\b\u0016\u0012\u0006\u0010\u0007\u001a\u00020\b¢\u0006\u0002\u0010\tBE\b\u0002\u0012\f\u0010\n\u001a\b\u0012\u0004\u0012\u00028\u00000\u000b\u0012\u000e\u0010\f\u001a\n\u0012\u0004\u0012\u00028\u0001\u0018\u00010\u000b\u0012\u0006\u0010\r\u001a\u00020\u000e\u0012\u0006\u0010\u000f\u001a\u00020\u000e\u0012\u0006\u0010\u0010\u001a\u00020\b\u0012\u0006\u0010\u0011\u001a\u00020\b¢\u0006\u0002\u0010\u0012J\u0017\u00103\u001a\u00020\b2\u0006\u00104\u001a\u00028\u0000H\u0000¢\u0006\u0004\b5\u00106J\u0013\u00107\u001a\b\u0012\u0004\u0012\u00028\u00010\u000bH\u0002¢\u0006\u0002\u00108J\u0012\u00109\u001a\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010:J\r\u0010;\u001a\u00020<H\u0000¢\u0006\u0002\b=J\b\u0010>\u001a\u00020<H\u0016J\b\u0010?\u001a\u00020<H\u0002J\u0019\u0010@\u001a\u00020!2\n\u0010A\u001a\u0006\u0012\u0002\b\u00030BH\u0000¢\u0006\u0002\bCJ!\u0010D\u001a\u00020!2\u0012\u0010E\u001a\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010FH\u0000¢\u0006\u0002\bGJ\u0015\u0010H\u001a\u00020!2\u0006\u00104\u001a\u00028\u0000H\u0016¢\u0006\u0002\u0010IJ\u0015\u0010J\u001a\u00020!2\u0006\u0010K\u001a\u00028\u0001H\u0016¢\u0006\u0002\u0010IJ\u0018\u0010L\u001a\u00020!2\u000e\u0010M\u001a\n\u0012\u0002\b\u0003\u0012\u0002\b\u00030:H\u0002J\u0010\u0010N\u001a\u00020<2\u0006\u0010O\u001a\u00020\bH\u0002J\u0010\u0010P\u001a\u00020<2\u0006\u0010Q\u001a\u00020\bH\u0002J\u0019\u0010R\u001a\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010SH\u0000¢\u0006\u0002\bTJ\u0013\u0010U\u001a\u00020!2\b\u0010M\u001a\u0004\u0018\u00010VH\u0096\u0002J\u0015\u0010W\u001a\u00020\b2\u0006\u00104\u001a\u00028\u0000H\u0002¢\u0006\u0002\u00106J\u0015\u0010X\u001a\u00020\b2\u0006\u0010K\u001a\u00028\u0001H\u0002¢\u0006\u0002\u00106J\u0018\u0010Y\u001a\u0004\u0018\u00018\u00012\u0006\u00104\u001a\u00028\u0000H\u0096\u0002¢\u0006\u0002\u0010ZJ\u0015\u0010[\u001a\u00020\b2\u0006\u00104\u001a\u00028\u0000H\u0002¢\u0006\u0002\u00106J\b\u0010\\\u001a\u00020\bH\u0016J\b\u0010]\u001a\u00020!H\u0016J\u0019\u0010^\u001a\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010_H\u0000¢\u0006\u0002\b`J\u001f\u0010a\u001a\u0004\u0018\u00018\u00012\u0006\u00104\u001a\u00028\u00002\u0006\u0010K\u001a\u00028\u0001H\u0016¢\u0006\u0002\u0010bJ\u001e\u0010c\u001a\u00020<2\u0014\u0010d\u001a\u0010\u0012\u0006\b\u0001\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010:H\u0016J\"\u0010e\u001a\u00020!2\u0018\u0010d\u001a\u0014\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010F0BH\u0002J\u001c\u0010f\u001a\u00020!2\u0012\u0010E\u001a\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010FH\u0002J\u0010\u0010g\u001a\u00020!2\u0006\u0010h\u001a\u00020\bH\u0002J\b\u0010i\u001a\u00020<H\u0002J\u0010\u0010j\u001a\u00020<2\u0006\u0010k\u001a\u00020\bH\u0002J\u0017\u0010l\u001a\u0004\u0018\u00018\u00012\u0006\u00104\u001a\u00028\u0000H\u0016¢\u0006\u0002\u0010ZJ!\u0010m\u001a\u00020!2\u0012\u0010E\u001a\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010FH\u0000¢\u0006\u0002\bnJ\u0010\u0010o\u001a\u00020<2\u0006\u0010p\u001a\u00020\bH\u0002J\u0017\u0010q\u001a\u00020\b2\u0006\u00104\u001a\u00028\u0000H\u0000¢\u0006\u0004\br\u00106J\u0010\u0010s\u001a\u00020<2\u0006\u0010t\u001a\u00020\bH\u0002J\u0017\u0010u\u001a\u00020!2\u0006\u0010v\u001a\u00028\u0001H\u0000¢\u0006\u0004\bw\u0010IJ\u0010\u0010x\u001a\u00020!2\u0006\u0010y\u001a\u00020\bH\u0002J\b\u0010z\u001a\u00020{H\u0016J\u0019\u0010|\u001a\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010}H\u0000¢\u0006\u0002\b~J\b\u0010\u007f\u001a\u00020VH\u0002R\u0014\u0010\u0013\u001a\u00020\b8@X\u0080\u0004¢\u0006\u0006\u001a\u0004\b\u0014\u0010\u0015R&\u0010\u0016\u001a\u0014\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010\u00180\u00178VX\u0096\u0004¢\u0006\u0006\u001aLine truncated
|
||||
@SourceDebugExtension({"SMAP\nMapBuilder.kt\nKotlin\n*S Kotlin\n*F\n+ 1 MapBuilder.kt\nkotlin/collections/builders/MapBuilder\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,727:1\n1#2:728\n*E\n"})
|
||||
/* loaded from: classes3.dex */
|
||||
public final class MapBuilder<K, V> implements Map<K, V>, Serializable, KMutableMap {
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE = new Companion(null);
|
||||
private static final MapBuilder Empty;
|
||||
private static final int INITIAL_CAPACITY = 8;
|
||||
private static final int INITIAL_MAX_PROBE_DISTANCE = 2;
|
||||
private static final int MAGIC = -1640531527;
|
||||
private static final int TOMBSTONE = -1;
|
||||
private MapBuilderEntries<K, V> entriesView;
|
||||
private int[] hashArray;
|
||||
private int hashShift;
|
||||
private boolean isReadOnly;
|
||||
private K[] keysArray;
|
||||
private MapBuilderKeys<K> keysView;
|
||||
private int length;
|
||||
private int maxProbeDistance;
|
||||
private int modCount;
|
||||
private int[] presenceArray;
|
||||
private int size;
|
||||
private V[] valuesArray;
|
||||
private MapBuilderValues<V> valuesView;
|
||||
|
||||
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0001\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\b\b\u0080\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0010\u0010\r\u001a\u00020\t2\u0006\u0010\u000e\u001a\u00020\tH\u0002J\u0010\u0010\u000f\u001a\u00020\t2\u0006\u0010\u0010\u001a\u00020\tH\u0002R \u0010\u0003\u001a\u000e\u0012\u0004\u0012\u00020\u0005\u0012\u0004\u0012\u00020\u00050\u0004X\u0080\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007R\u000e\u0010\b\u001a\u00020\tX\u0082T¢\u0006\u0002\n\u0000R\u000e\u0010\n\u001a\u00020\tX\u0082T¢\u0006\u0002\n\u0000R\u000e\u0010\u000b\u001a\u00020\tX\u0082T¢\u0006\u0002\n\u0000R\u000e\u0010\f\u001a\u00020\tX\u0082T¢\u0006\u0002\n\u0000¨\u0006\u0011"}, d2 = {"Lkotlin/collections/builders/MapBuilder$Companion;", "", "()V", "Empty", "Lkotlin/collections/builders/MapBuilder;", "", "getEmpty$kotlin_stdlib", "()Lkotlin/collections/builders/MapBuilder;", "INITIAL_CAPACITY", "", "INITIAL_MAX_PROBE_DISTANCE", "MAGIC", "TOMBSTONE", "computeHashSize", "capacity", "computeShift", "hashSize", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public final int computeHashSize(int capacity) {
|
||||
return Integer.highestOneBit(RangesKt.coerceAtLeast(capacity, 1) * 3);
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public final int computeShift(int hashSize) {
|
||||
return Integer.numberOfLeadingZeros(hashSize) + 1;
|
||||
}
|
||||
|
||||
public final MapBuilder getEmpty$kotlin_stdlib() {
|
||||
return MapBuilder.Empty;
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
@Metadata(d1 = {"\u0000<\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0010)\n\u0002\u0010'\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\b\u0000\u0018\u0000*\u0004\b\u0002\u0010\u0001*\u0004\b\u0003\u0010\u00022\u000e\u0012\u0004\u0012\u0002H\u0001\u0012\u0004\u0012\u0002H\u00020\u00032\u0014\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0001\u0012\u0004\u0012\u0002H\u00020\u00050\u0004B\u0019\u0012\u0012\u0010\u0006\u001a\u000e\u0012\u0004\u0012\u00028\u0002\u0012\u0004\u0012\u00028\u00030\u0007¢\u0006\u0002\u0010\bJ\u0015\u0010\t\u001a\u000e\u0012\u0004\u0012\u00028\u0002\u0012\u0004\u0012\u00028\u00030\nH\u0096\u0002J\u0012\u0010\u000b\u001a\u00020\f2\n\u0010\r\u001a\u00060\u000ej\u0002`\u000fJ\r\u0010\u0010\u001a\u00020\u0011H\u0000¢\u0006\u0002\b\u0012¨\u0006\u0013"}, d2 = {"Lkotlin/collections/builders/MapBuilder$EntriesItr;", "K", "V", "Lkotlin/collections/builders/MapBuilder$Itr;", "", "", "map", "Lkotlin/collections/builders/MapBuilder;", "(Lkotlin/collections/builders/MapBuilder;)V", "next", "Lkotlin/collections/builders/MapBuilder$EntryRef;", "nextAppendString", "", "sb", "Ljava/lang/StringBuilder;", "Lkotlin/text/StringBuilder;", "nextHashCode", "", "nextHashCode$kotlin_stdlib", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class EntriesItr<K, V> extends Itr<K, V> implements Iterator<Map.Entry<K, V>>, KMutableIterator {
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public EntriesItr(MapBuilder<K, V> map) {
|
||||
super(map);
|
||||
Intrinsics.checkNotNullParameter(map, "map");
|
||||
}
|
||||
|
||||
public final void nextAppendString(StringBuilder sb) {
|
||||
Intrinsics.checkNotNullParameter(sb, "sb");
|
||||
if (getIndex() >= ((MapBuilder) getMap$kotlin_stdlib()).length) {
|
||||
throw new NoSuchElementException();
|
||||
}
|
||||
int index = getIndex();
|
||||
setIndex$kotlin_stdlib(index + 1);
|
||||
setLastIndex$kotlin_stdlib(index);
|
||||
Object obj = ((MapBuilder) getMap$kotlin_stdlib()).keysArray[getLastIndex()];
|
||||
if (obj == getMap$kotlin_stdlib()) {
|
||||
sb.append("(this Map)");
|
||||
} else {
|
||||
sb.append(obj);
|
||||
}
|
||||
sb.append('=');
|
||||
Object[] objArr = ((MapBuilder) getMap$kotlin_stdlib()).valuesArray;
|
||||
Intrinsics.checkNotNull(objArr);
|
||||
Object obj2 = objArr[getLastIndex()];
|
||||
if (obj2 == getMap$kotlin_stdlib()) {
|
||||
sb.append("(this Map)");
|
||||
} else {
|
||||
sb.append(obj2);
|
||||
}
|
||||
initNext$kotlin_stdlib();
|
||||
}
|
||||
|
||||
public final int nextHashCode$kotlin_stdlib() {
|
||||
if (getIndex() >= ((MapBuilder) getMap$kotlin_stdlib()).length) {
|
||||
throw new NoSuchElementException();
|
||||
}
|
||||
int index = getIndex();
|
||||
setIndex$kotlin_stdlib(index + 1);
|
||||
setLastIndex$kotlin_stdlib(index);
|
||||
Object obj = ((MapBuilder) getMap$kotlin_stdlib()).keysArray[getLastIndex()];
|
||||
int hashCode = obj != null ? obj.hashCode() : 0;
|
||||
Object[] objArr = ((MapBuilder) getMap$kotlin_stdlib()).valuesArray;
|
||||
Intrinsics.checkNotNull(objArr);
|
||||
Object obj2 = objArr[getLastIndex()];
|
||||
int hashCode2 = hashCode ^ (obj2 != null ? obj2.hashCode() : 0);
|
||||
initNext$kotlin_stdlib();
|
||||
return hashCode2;
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public EntryRef<K, V> next() {
|
||||
checkForComodification$kotlin_stdlib();
|
||||
if (getIndex() < ((MapBuilder) getMap$kotlin_stdlib()).length) {
|
||||
int index = getIndex();
|
||||
setIndex$kotlin_stdlib(index + 1);
|
||||
setLastIndex$kotlin_stdlib(index);
|
||||
EntryRef<K, V> entryRef = new EntryRef<>(getMap$kotlin_stdlib(), getLastIndex());
|
||||
initNext$kotlin_stdlib();
|
||||
return entryRef;
|
||||
}
|
||||
throw new NoSuchElementException();
|
||||
}
|
||||
}
|
||||
|
||||
@Metadata(d1 = {"\u00000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010'\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0007\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0005\n\u0002\u0010\u000e\n\u0000\b\u0000\u0018\u0000*\u0004\b\u0002\u0010\u0001*\u0004\b\u0003\u0010\u00022\u000e\u0012\u0004\u0012\u0002H\u0001\u0012\u0004\u0012\u0002H\u00020\u0003B!\u0012\u0012\u0010\u0004\u001a\u000e\u0012\u0004\u0012\u00028\u0002\u0012\u0004\u0012\u00028\u00030\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007¢\u0006\u0002\u0010\bJ\u0013\u0010\u000e\u001a\u00020\u000f2\b\u0010\u0010\u001a\u0004\u0018\u00010\u0011H\u0096\u0002J\b\u0010\u0012\u001a\u00020\u0007H\u0016J\u0015\u0010\u0013\u001a\u00028\u00032\u0006\u0010\u0014\u001a\u00028\u0003H\u0016¢\u0006\u0002\u0010\u0015J\b\u0010\u0016\u001a\u00020\u0017H\u0016R\u000e\u0010\u0006\u001a\u00020\u0007X\u0082\u0004¢\u0006\u0002\n\u0000R\u0014\u0010\t\u001a\u00028\u00028VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\n\u0010\u000bR\u001a\u0010\u0004\u001a\u000e\u0012\u0004\u0012\u00028\u0002\u0012\u0004\u0012\u00028\u00030\u0005X\u0082\u0004¢\u0006\u0002\n\u0000R\u0014\u0010\f\u001a\u00028\u00038VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\r\u0010\u000b¨\u0006\u0018"}, d2 = {"Lkotlin/collections/builders/MapBuilder$EntryRef;", "K", "V", "", "map", "Lkotlin/collections/builders/MapBuilder;", FirebaseAnalytics.Param.INDEX, "", "(Lkotlin/collections/builders/MapBuilder;I)V", "key", "getKey", "()Ljava/lang/Object;", "value", "getValue", "equals", "", "other", "", "hashCode", "setValue", "newValue", "(Ljava/lang/Object;)Ljava/lang/Object;", "toString", "", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class EntryRef<K, V> implements Map.Entry<K, V>, KMutableMap.Entry {
|
||||
private final int index;
|
||||
private final MapBuilder<K, V> map;
|
||||
|
||||
public EntryRef(MapBuilder<K, V> map, int i) {
|
||||
Intrinsics.checkNotNullParameter(map, "map");
|
||||
this.map = map;
|
||||
this.index = i;
|
||||
}
|
||||
|
||||
@Override // java.util.Map.Entry
|
||||
public boolean equals(Object other) {
|
||||
if (!(other instanceof Map.Entry)) {
|
||||
return false;
|
||||
}
|
||||
Map.Entry entry = (Map.Entry) other;
|
||||
return Intrinsics.areEqual(entry.getKey(), getKey()) && Intrinsics.areEqual(entry.getValue(), getValue());
|
||||
}
|
||||
|
||||
@Override // java.util.Map.Entry
|
||||
public K getKey() {
|
||||
return (K) ((MapBuilder) this.map).keysArray[this.index];
|
||||
}
|
||||
|
||||
@Override // java.util.Map.Entry
|
||||
public V getValue() {
|
||||
Object[] objArr = ((MapBuilder) this.map).valuesArray;
|
||||
Intrinsics.checkNotNull(objArr);
|
||||
return (V) objArr[this.index];
|
||||
}
|
||||
|
||||
@Override // java.util.Map.Entry
|
||||
public int hashCode() {
|
||||
K key = getKey();
|
||||
int hashCode = key != null ? key.hashCode() : 0;
|
||||
V value = getValue();
|
||||
return hashCode ^ (value != null ? value.hashCode() : 0);
|
||||
}
|
||||
|
||||
@Override // java.util.Map.Entry
|
||||
public V setValue(V newValue) {
|
||||
this.map.checkIsMutable$kotlin_stdlib();
|
||||
Object[] allocateValuesArray = this.map.allocateValuesArray();
|
||||
int i = this.index;
|
||||
V v3 = (V) allocateValuesArray[i];
|
||||
allocateValuesArray[i] = newValue;
|
||||
return v3;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(getKey());
|
||||
sb.append('=');
|
||||
sb.append(getValue());
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
|
||||
@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u000b\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0010\u0018\u0000*\u0004\b\u0002\u0010\u0001*\u0004\b\u0003\u0010\u00022\u00020\u0003B\u0019\u0012\u0012\u0010\u0004\u001a\u000e\u0012\u0004\u0012\u00028\u0002\u0012\u0004\u0012\u00028\u00030\u0005¢\u0006\u0002\u0010\u0006J\r\u0010\u0013\u001a\u00020\u0014H\u0000¢\u0006\u0002\b\u0015J\u0006\u0010\u0016\u001a\u00020\u0017J\r\u0010\u0018\u001a\u00020\u0014H\u0000¢\u0006\u0002\b\u0019J\u0006\u0010\u001a\u001a\u00020\u0014R\u000e\u0010\u0007\u001a\u00020\bX\u0082\u000e¢\u0006\u0002\n\u0000R\u001a\u0010\t\u001a\u00020\bX\u0080\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\n\u0010\u000b\"\u0004\b\f\u0010\rR\u001a\u0010\u000e\u001a\u00020\bX\u0080\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u000f\u0010\u000b\"\u0004\b\u0010\u0010\rR \u0010\u0004\u001a\u000e\u0012\u0004\u0012\u00028\u0002\u0012\u0004\u0012\u00028\u00030\u0005X\u0080\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012¨\u0006\u001b"}, d2 = {"Lkotlin/collections/builders/MapBuilder$Itr;", "K", "V", "", "map", "Lkotlin/collections/builders/MapBuilder;", "(Lkotlin/collections/builders/MapBuilder;)V", "expectedModCount", "", FirebaseAnalytics.Param.INDEX, "getIndex$kotlin_stdlib", "()I", "setIndex$kotlin_stdlib", "(I)V", "lastIndex", "getLastIndex$kotlin_stdlib", "setLastIndex$kotlin_stdlib", "getMap$kotlin_stdlib", "()Lkotlin/collections/builders/MapBuilder;", "checkForComodification", "", "checkForComodification$kotlin_stdlib", "hasNext", "", "initNext", "initNext$kotlin_stdlib", "remove", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nMapBuilder.kt\nKotlin\n*S Kotlin\n*F\n+ 1 MapBuilder.kt\nkotlin/collections/builders/MapBuilder$Itr\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,727:1\n1#2:728\n*E\n"})
|
||||
/* loaded from: classes3.dex */
|
||||
public static class Itr<K, V> {
|
||||
private int expectedModCount;
|
||||
private int index;
|
||||
private int lastIndex;
|
||||
private final MapBuilder<K, V> map;
|
||||
|
||||
public Itr(MapBuilder<K, V> map) {
|
||||
Intrinsics.checkNotNullParameter(map, "map");
|
||||
this.map = map;
|
||||
this.lastIndex = -1;
|
||||
this.expectedModCount = ((MapBuilder) map).modCount;
|
||||
initNext$kotlin_stdlib();
|
||||
}
|
||||
|
||||
public final void checkForComodification$kotlin_stdlib() {
|
||||
if (((MapBuilder) this.map).modCount != this.expectedModCount) {
|
||||
throw new ConcurrentModificationException();
|
||||
}
|
||||
}
|
||||
|
||||
/* renamed from: getIndex$kotlin_stdlib, reason: from getter */
|
||||
public final int getIndex() {
|
||||
return this.index;
|
||||
}
|
||||
|
||||
/* renamed from: getLastIndex$kotlin_stdlib, reason: from getter */
|
||||
public final int getLastIndex() {
|
||||
return this.lastIndex;
|
||||
}
|
||||
|
||||
public final MapBuilder<K, V> getMap$kotlin_stdlib() {
|
||||
return this.map;
|
||||
}
|
||||
|
||||
public final boolean hasNext() {
|
||||
return this.index < ((MapBuilder) this.map).length;
|
||||
}
|
||||
|
||||
public final void initNext$kotlin_stdlib() {
|
||||
while (this.index < ((MapBuilder) this.map).length) {
|
||||
int[] iArr = ((MapBuilder) this.map).presenceArray;
|
||||
int i = this.index;
|
||||
if (iArr[i] >= 0) {
|
||||
return;
|
||||
} else {
|
||||
this.index = i + 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public final void remove() {
|
||||
checkForComodification$kotlin_stdlib();
|
||||
if (this.lastIndex == -1) {
|
||||
throw new IllegalStateException("Call next() before removing element from the iterator.");
|
||||
}
|
||||
this.map.checkIsMutable$kotlin_stdlib();
|
||||
this.map.removeKeyAt(this.lastIndex);
|
||||
this.lastIndex = -1;
|
||||
this.expectedModCount = ((MapBuilder) this.map).modCount;
|
||||
}
|
||||
|
||||
public final void setIndex$kotlin_stdlib(int i) {
|
||||
this.index = i;
|
||||
}
|
||||
|
||||
public final void setLastIndex$kotlin_stdlib(int i) {
|
||||
this.lastIndex = i;
|
||||
}
|
||||
}
|
||||
|
||||
@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0010)\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\b\u0000\u0018\u0000*\u0004\b\u0002\u0010\u0001*\u0004\b\u0003\u0010\u00022\u000e\u0012\u0004\u0012\u0002H\u0001\u0012\u0004\u0012\u0002H\u00020\u00032\b\u0012\u0004\u0012\u0002H\u00010\u0004B\u0019\u0012\u0012\u0010\u0005\u001a\u000e\u0012\u0004\u0012\u00028\u0002\u0012\u0004\u0012\u00028\u00030\u0006¢\u0006\u0002\u0010\u0007J\u000e\u0010\b\u001a\u00028\u0002H\u0096\u0002¢\u0006\u0002\u0010\t¨\u0006\n"}, d2 = {"Lkotlin/collections/builders/MapBuilder$KeysItr;", "K", "V", "Lkotlin/collections/builders/MapBuilder$Itr;", "", "map", "Lkotlin/collections/builders/MapBuilder;", "(Lkotlin/collections/builders/MapBuilder;)V", "next", "()Ljava/lang/Object;", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class KeysItr<K, V> extends Itr<K, V> implements Iterator<K>, KMutableIterator {
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public KeysItr(MapBuilder<K, V> map) {
|
||||
super(map);
|
||||
Intrinsics.checkNotNullParameter(map, "map");
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public K next() {
|
||||
checkForComodification$kotlin_stdlib();
|
||||
if (getIndex() >= ((MapBuilder) getMap$kotlin_stdlib()).length) {
|
||||
throw new NoSuchElementException();
|
||||
}
|
||||
int index = getIndex();
|
||||
setIndex$kotlin_stdlib(index + 1);
|
||||
setLastIndex$kotlin_stdlib(index);
|
||||
K k4 = (K) ((MapBuilder) getMap$kotlin_stdlib()).keysArray[getLastIndex()];
|
||||
initNext$kotlin_stdlib();
|
||||
return k4;
|
||||
}
|
||||
}
|
||||
|
||||
@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0010)\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\b\u0000\u0018\u0000*\u0004\b\u0002\u0010\u0001*\u0004\b\u0003\u0010\u00022\u000e\u0012\u0004\u0012\u0002H\u0001\u0012\u0004\u0012\u0002H\u00020\u00032\b\u0012\u0004\u0012\u0002H\u00020\u0004B\u0019\u0012\u0012\u0010\u0005\u001a\u000e\u0012\u0004\u0012\u00028\u0002\u0012\u0004\u0012\u00028\u00030\u0006¢\u0006\u0002\u0010\u0007J\u000e\u0010\b\u001a\u00028\u0003H\u0096\u0002¢\u0006\u0002\u0010\t¨\u0006\n"}, d2 = {"Lkotlin/collections/builders/MapBuilder$ValuesItr;", "K", "V", "Lkotlin/collections/builders/MapBuilder$Itr;", "", "map", "Lkotlin/collections/builders/MapBuilder;", "(Lkotlin/collections/builders/MapBuilder;)V", "next", "()Ljava/lang/Object;", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class ValuesItr<K, V> extends Itr<K, V> implements Iterator<V>, KMutableIterator {
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public ValuesItr(MapBuilder<K, V> map) {
|
||||
super(map);
|
||||
Intrinsics.checkNotNullParameter(map, "map");
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public V next() {
|
||||
checkForComodification$kotlin_stdlib();
|
||||
if (getIndex() >= ((MapBuilder) getMap$kotlin_stdlib()).length) {
|
||||
throw new NoSuchElementException();
|
||||
}
|
||||
int index = getIndex();
|
||||
setIndex$kotlin_stdlib(index + 1);
|
||||
setLastIndex$kotlin_stdlib(index);
|
||||
Object[] objArr = ((MapBuilder) getMap$kotlin_stdlib()).valuesArray;
|
||||
Intrinsics.checkNotNull(objArr);
|
||||
V v3 = (V) objArr[getLastIndex()];
|
||||
initNext$kotlin_stdlib();
|
||||
return v3;
|
||||
}
|
||||
}
|
||||
|
||||
static {
|
||||
MapBuilder mapBuilder = new MapBuilder(0);
|
||||
mapBuilder.isReadOnly = true;
|
||||
Empty = mapBuilder;
|
||||
}
|
||||
|
||||
private MapBuilder(K[] kArr, V[] vArr, int[] iArr, int[] iArr2, int i, int i4) {
|
||||
this.keysArray = kArr;
|
||||
this.valuesArray = vArr;
|
||||
this.presenceArray = iArr;
|
||||
this.hashArray = iArr2;
|
||||
this.maxProbeDistance = i;
|
||||
this.length = i4;
|
||||
this.hashShift = INSTANCE.computeShift(getHashSize());
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public final V[] allocateValuesArray() {
|
||||
V[] vArr = this.valuesArray;
|
||||
if (vArr != null) {
|
||||
return vArr;
|
||||
}
|
||||
V[] vArr2 = (V[]) ListBuilderKt.arrayOfUninitializedElements(getCapacity$kotlin_stdlib());
|
||||
this.valuesArray = vArr2;
|
||||
return vArr2;
|
||||
}
|
||||
|
||||
private final void compact() {
|
||||
int i;
|
||||
V[] vArr = this.valuesArray;
|
||||
int i4 = 0;
|
||||
int i5 = 0;
|
||||
while (true) {
|
||||
i = this.length;
|
||||
if (i4 >= i) {
|
||||
break;
|
||||
}
|
||||
if (this.presenceArray[i4] >= 0) {
|
||||
K[] kArr = this.keysArray;
|
||||
kArr[i5] = kArr[i4];
|
||||
if (vArr != null) {
|
||||
vArr[i5] = vArr[i4];
|
||||
}
|
||||
i5++;
|
||||
}
|
||||
i4++;
|
||||
}
|
||||
ListBuilderKt.resetRange(this.keysArray, i5, i);
|
||||
if (vArr != null) {
|
||||
ListBuilderKt.resetRange(vArr, i5, this.length);
|
||||
}
|
||||
this.length = i5;
|
||||
}
|
||||
|
||||
private final boolean contentEquals(Map<?, ?> other) {
|
||||
return size() == other.size() && containsAllEntries$kotlin_stdlib(other.entrySet());
|
||||
}
|
||||
|
||||
private final void ensureCapacity(int minCapacity) {
|
||||
if (minCapacity < 0) {
|
||||
throw new OutOfMemoryError();
|
||||
}
|
||||
if (minCapacity > getCapacity$kotlin_stdlib()) {
|
||||
int newCapacity$kotlin_stdlib = AbstractList.INSTANCE.newCapacity$kotlin_stdlib(getCapacity$kotlin_stdlib(), minCapacity);
|
||||
this.keysArray = (K[]) ListBuilderKt.copyOfUninitializedElements(this.keysArray, newCapacity$kotlin_stdlib);
|
||||
V[] vArr = this.valuesArray;
|
||||
this.valuesArray = vArr != null ? (V[]) ListBuilderKt.copyOfUninitializedElements(vArr, newCapacity$kotlin_stdlib) : null;
|
||||
int[] copyOf = Arrays.copyOf(this.presenceArray, newCapacity$kotlin_stdlib);
|
||||
Intrinsics.checkNotNullExpressionValue(copyOf, "copyOf(...)");
|
||||
this.presenceArray = copyOf;
|
||||
int computeHashSize = INSTANCE.computeHashSize(newCapacity$kotlin_stdlib);
|
||||
if (computeHashSize > getHashSize()) {
|
||||
rehash(computeHashSize);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private final void ensureExtraCapacity(int n4) {
|
||||
if (shouldCompact(n4)) {
|
||||
rehash(getHashSize());
|
||||
} else {
|
||||
ensureCapacity(this.length + n4);
|
||||
}
|
||||
}
|
||||
|
||||
private final int findKey(K key) {
|
||||
int hash = hash(key);
|
||||
int i = this.maxProbeDistance;
|
||||
while (true) {
|
||||
int i4 = this.hashArray[hash];
|
||||
if (i4 == 0) {
|
||||
return -1;
|
||||
}
|
||||
if (i4 > 0) {
|
||||
int i5 = i4 - 1;
|
||||
if (Intrinsics.areEqual(this.keysArray[i5], key)) {
|
||||
return i5;
|
||||
}
|
||||
}
|
||||
i--;
|
||||
if (i < 0) {
|
||||
return -1;
|
||||
}
|
||||
hash = hash == 0 ? getHashSize() - 1 : hash - 1;
|
||||
}
|
||||
}
|
||||
|
||||
private final int findValue(V value) {
|
||||
int i = this.length;
|
||||
while (true) {
|
||||
i--;
|
||||
if (i < 0) {
|
||||
return -1;
|
||||
}
|
||||
if (this.presenceArray[i] >= 0) {
|
||||
V[] vArr = this.valuesArray;
|
||||
Intrinsics.checkNotNull(vArr);
|
||||
if (Intrinsics.areEqual(vArr[i], value)) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private final int getHashSize() {
|
||||
return this.hashArray.length;
|
||||
}
|
||||
|
||||
private final int hash(K key) {
|
||||
return ((key != null ? key.hashCode() : 0) * MAGIC) >>> this.hashShift;
|
||||
}
|
||||
|
||||
private final boolean putAllEntries(Collection<? extends Map.Entry<? extends K, ? extends V>> from) {
|
||||
boolean z3 = false;
|
||||
if (from.isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
ensureExtraCapacity(from.size());
|
||||
Iterator<? extends Map.Entry<? extends K, ? extends V>> it = from.iterator();
|
||||
while (it.hasNext()) {
|
||||
if (putEntry(it.next())) {
|
||||
z3 = true;
|
||||
}
|
||||
}
|
||||
return z3;
|
||||
}
|
||||
|
||||
private final boolean putEntry(Map.Entry<? extends K, ? extends V> entry) {
|
||||
int addKey$kotlin_stdlib = addKey$kotlin_stdlib(entry.getKey());
|
||||
V[] allocateValuesArray = allocateValuesArray();
|
||||
if (addKey$kotlin_stdlib >= 0) {
|
||||
allocateValuesArray[addKey$kotlin_stdlib] = entry.getValue();
|
||||
return true;
|
||||
}
|
||||
int i = (-addKey$kotlin_stdlib) - 1;
|
||||
if (Intrinsics.areEqual(entry.getValue(), allocateValuesArray[i])) {
|
||||
return false;
|
||||
}
|
||||
allocateValuesArray[i] = entry.getValue();
|
||||
return true;
|
||||
}
|
||||
|
||||
private final boolean putRehash(int i) {
|
||||
int hash = hash(this.keysArray[i]);
|
||||
int i4 = this.maxProbeDistance;
|
||||
while (true) {
|
||||
int[] iArr = this.hashArray;
|
||||
if (iArr[hash] == 0) {
|
||||
iArr[hash] = i + 1;
|
||||
this.presenceArray[i] = hash;
|
||||
return true;
|
||||
}
|
||||
i4--;
|
||||
if (i4 < 0) {
|
||||
return false;
|
||||
}
|
||||
hash = hash == 0 ? getHashSize() - 1 : hash - 1;
|
||||
}
|
||||
}
|
||||
|
||||
private final void registerModification() {
|
||||
this.modCount++;
|
||||
}
|
||||
|
||||
private final void rehash(int newHashSize) {
|
||||
registerModification();
|
||||
if (this.length > size()) {
|
||||
compact();
|
||||
}
|
||||
int i = 0;
|
||||
if (newHashSize != getHashSize()) {
|
||||
this.hashArray = new int[newHashSize];
|
||||
this.hashShift = INSTANCE.computeShift(newHashSize);
|
||||
} else {
|
||||
ArraysKt.fill(this.hashArray, 0, 0, getHashSize());
|
||||
}
|
||||
while (i < this.length) {
|
||||
int i4 = i + 1;
|
||||
if (!putRehash(i)) {
|
||||
throw new IllegalStateException("This cannot happen with fixed magic multiplier and grow-only hash array. Have object hashCodes changed?");
|
||||
}
|
||||
i = i4;
|
||||
}
|
||||
}
|
||||
|
||||
private final void removeHashAt(int removedHash) {
|
||||
int coerceAtMost = RangesKt.coerceAtMost(this.maxProbeDistance * 2, getHashSize() / 2);
|
||||
int i = 0;
|
||||
int i4 = removedHash;
|
||||
do {
|
||||
removedHash = removedHash == 0 ? getHashSize() - 1 : removedHash - 1;
|
||||
i++;
|
||||
if (i > this.maxProbeDistance) {
|
||||
this.hashArray[i4] = 0;
|
||||
return;
|
||||
}
|
||||
int[] iArr = this.hashArray;
|
||||
int i5 = iArr[removedHash];
|
||||
if (i5 == 0) {
|
||||
iArr[i4] = 0;
|
||||
return;
|
||||
}
|
||||
if (i5 < 0) {
|
||||
iArr[i4] = -1;
|
||||
} else {
|
||||
int i6 = i5 - 1;
|
||||
if (((hash(this.keysArray[i6]) - removedHash) & (getHashSize() - 1)) >= i) {
|
||||
this.hashArray[i4] = i5;
|
||||
this.presenceArray[i6] = i4;
|
||||
}
|
||||
coerceAtMost--;
|
||||
}
|
||||
i4 = removedHash;
|
||||
i = 0;
|
||||
coerceAtMost--;
|
||||
} while (coerceAtMost >= 0);
|
||||
this.hashArray[i4] = -1;
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public final void removeKeyAt(int index) {
|
||||
ListBuilderKt.resetAt(this.keysArray, index);
|
||||
removeHashAt(this.presenceArray[index]);
|
||||
this.presenceArray[index] = -1;
|
||||
this.size = size() - 1;
|
||||
registerModification();
|
||||
}
|
||||
|
||||
private final boolean shouldCompact(int extraCapacity) {
|
||||
int capacity$kotlin_stdlib = getCapacity$kotlin_stdlib();
|
||||
int i = this.length;
|
||||
int i4 = capacity$kotlin_stdlib - i;
|
||||
int size = i - size();
|
||||
return i4 < extraCapacity && i4 + size >= extraCapacity && size >= getCapacity$kotlin_stdlib() / 4;
|
||||
}
|
||||
|
||||
private final Object writeReplace() {
|
||||
if (this.isReadOnly) {
|
||||
return new SerializedMap(this);
|
||||
}
|
||||
throw new NotSerializableException("The map cannot be serialized while it is being built.");
|
||||
}
|
||||
|
||||
public final int addKey$kotlin_stdlib(K key) {
|
||||
checkIsMutable$kotlin_stdlib();
|
||||
while (true) {
|
||||
int hash = hash(key);
|
||||
int coerceAtMost = RangesKt.coerceAtMost(this.maxProbeDistance * 2, getHashSize() / 2);
|
||||
int i = 0;
|
||||
while (true) {
|
||||
int i4 = this.hashArray[hash];
|
||||
if (i4 <= 0) {
|
||||
if (this.length < getCapacity$kotlin_stdlib()) {
|
||||
int i5 = this.length;
|
||||
int i6 = i5 + 1;
|
||||
this.length = i6;
|
||||
this.keysArray[i5] = key;
|
||||
this.presenceArray[i5] = hash;
|
||||
this.hashArray[hash] = i6;
|
||||
this.size = size() + 1;
|
||||
registerModification();
|
||||
if (i > this.maxProbeDistance) {
|
||||
this.maxProbeDistance = i;
|
||||
}
|
||||
return i5;
|
||||
}
|
||||
ensureExtraCapacity(1);
|
||||
} else {
|
||||
if (Intrinsics.areEqual(this.keysArray[i4 - 1], key)) {
|
||||
return -i4;
|
||||
}
|
||||
i++;
|
||||
if (i > coerceAtMost) {
|
||||
rehash(getHashSize() * 2);
|
||||
break;
|
||||
}
|
||||
hash = hash == 0 ? getHashSize() - 1 : hash - 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public final Map<K, V> build() {
|
||||
checkIsMutable$kotlin_stdlib();
|
||||
this.isReadOnly = true;
|
||||
if (size() > 0) {
|
||||
return this;
|
||||
}
|
||||
MapBuilder mapBuilder = Empty;
|
||||
Intrinsics.checkNotNull(mapBuilder, "null cannot be cast to non-null type kotlin.collections.Map<K of kotlin.collections.builders.MapBuilder, V of kotlin.collections.builders.MapBuilder>");
|
||||
return mapBuilder;
|
||||
}
|
||||
|
||||
public final void checkIsMutable$kotlin_stdlib() {
|
||||
if (this.isReadOnly) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
}
|
||||
|
||||
/* JADX WARN: Type inference failed for: r0v1, types: [kotlin.collections.IntIterator, java.util.Iterator] */
|
||||
@Override // java.util.Map
|
||||
public void clear() {
|
||||
checkIsMutable$kotlin_stdlib();
|
||||
?? it = new IntRange(0, this.length - 1).iterator();
|
||||
while (it.hasNext()) {
|
||||
int nextInt = it.nextInt();
|
||||
int[] iArr = this.presenceArray;
|
||||
int i = iArr[nextInt];
|
||||
if (i >= 0) {
|
||||
this.hashArray[i] = 0;
|
||||
iArr[nextInt] = -1;
|
||||
}
|
||||
}
|
||||
ListBuilderKt.resetRange(this.keysArray, 0, this.length);
|
||||
V[] vArr = this.valuesArray;
|
||||
if (vArr != null) {
|
||||
ListBuilderKt.resetRange(vArr, 0, this.length);
|
||||
}
|
||||
this.size = 0;
|
||||
this.length = 0;
|
||||
registerModification();
|
||||
}
|
||||
|
||||
public final boolean containsAllEntries$kotlin_stdlib(Collection<?> m4) {
|
||||
Intrinsics.checkNotNullParameter(m4, "m");
|
||||
for (Object obj : m4) {
|
||||
if (obj != null) {
|
||||
try {
|
||||
if (!containsEntry$kotlin_stdlib((Map.Entry) obj)) {
|
||||
}
|
||||
} catch (ClassCastException unused) {
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public final boolean containsEntry$kotlin_stdlib(Map.Entry<? extends K, ? extends V> entry) {
|
||||
Intrinsics.checkNotNullParameter(entry, "entry");
|
||||
int findKey = findKey(entry.getKey());
|
||||
if (findKey < 0) {
|
||||
return false;
|
||||
}
|
||||
V[] vArr = this.valuesArray;
|
||||
Intrinsics.checkNotNull(vArr);
|
||||
return Intrinsics.areEqual(vArr[findKey], entry.getValue());
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
@Override // java.util.Map
|
||||
public boolean containsKey(Object key) {
|
||||
return findKey(key) >= 0;
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
@Override // java.util.Map
|
||||
public boolean containsValue(Object value) {
|
||||
return findValue(value) >= 0;
|
||||
}
|
||||
|
||||
public final EntriesItr<K, V> entriesIterator$kotlin_stdlib() {
|
||||
return new EntriesItr<>(this);
|
||||
}
|
||||
|
||||
@Override // java.util.Map
|
||||
public final /* bridge */ Set<Map.Entry<K, V>> entrySet() {
|
||||
return getEntries();
|
||||
}
|
||||
|
||||
@Override // java.util.Map
|
||||
public boolean equals(Object other) {
|
||||
if (other != this) {
|
||||
return (other instanceof Map) && contentEquals((Map) other);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
@Override // java.util.Map
|
||||
public V get(Object key) {
|
||||
int findKey = findKey(key);
|
||||
if (findKey < 0) {
|
||||
return null;
|
||||
}
|
||||
V[] vArr = this.valuesArray;
|
||||
Intrinsics.checkNotNull(vArr);
|
||||
return vArr[findKey];
|
||||
}
|
||||
|
||||
public final int getCapacity$kotlin_stdlib() {
|
||||
return this.keysArray.length;
|
||||
}
|
||||
|
||||
public Set<Map.Entry<K, V>> getEntries() {
|
||||
MapBuilderEntries<K, V> mapBuilderEntries = this.entriesView;
|
||||
if (mapBuilderEntries != null) {
|
||||
return mapBuilderEntries;
|
||||
}
|
||||
MapBuilderEntries<K, V> mapBuilderEntries2 = new MapBuilderEntries<>(this);
|
||||
this.entriesView = mapBuilderEntries2;
|
||||
return mapBuilderEntries2;
|
||||
}
|
||||
|
||||
public Set<K> getKeys() {
|
||||
MapBuilderKeys<K> mapBuilderKeys = this.keysView;
|
||||
if (mapBuilderKeys != null) {
|
||||
return mapBuilderKeys;
|
||||
}
|
||||
MapBuilderKeys<K> mapBuilderKeys2 = new MapBuilderKeys<>(this);
|
||||
this.keysView = mapBuilderKeys2;
|
||||
return mapBuilderKeys2;
|
||||
}
|
||||
|
||||
public int getSize() {
|
||||
return this.size;
|
||||
}
|
||||
|
||||
public Collection<V> getValues() {
|
||||
MapBuilderValues<V> mapBuilderValues = this.valuesView;
|
||||
if (mapBuilderValues != null) {
|
||||
return mapBuilderValues;
|
||||
}
|
||||
MapBuilderValues<V> mapBuilderValues2 = new MapBuilderValues<>(this);
|
||||
this.valuesView = mapBuilderValues2;
|
||||
return mapBuilderValues2;
|
||||
}
|
||||
|
||||
@Override // java.util.Map
|
||||
public int hashCode() {
|
||||
EntriesItr<K, V> entriesIterator$kotlin_stdlib = entriesIterator$kotlin_stdlib();
|
||||
int i = 0;
|
||||
while (entriesIterator$kotlin_stdlib.hasNext()) {
|
||||
i += entriesIterator$kotlin_stdlib.nextHashCode$kotlin_stdlib();
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
||||
@Override // java.util.Map
|
||||
public boolean isEmpty() {
|
||||
return size() == 0;
|
||||
}
|
||||
|
||||
/* renamed from: isReadOnly$kotlin_stdlib, reason: from getter */
|
||||
public final boolean getIsReadOnly() {
|
||||
return this.isReadOnly;
|
||||
}
|
||||
|
||||
@Override // java.util.Map
|
||||
public final /* bridge */ Set<K> keySet() {
|
||||
return getKeys();
|
||||
}
|
||||
|
||||
public final KeysItr<K, V> keysIterator$kotlin_stdlib() {
|
||||
return new KeysItr<>(this);
|
||||
}
|
||||
|
||||
@Override // java.util.Map
|
||||
public V put(K key, V value) {
|
||||
checkIsMutable$kotlin_stdlib();
|
||||
int addKey$kotlin_stdlib = addKey$kotlin_stdlib(key);
|
||||
V[] allocateValuesArray = allocateValuesArray();
|
||||
if (addKey$kotlin_stdlib >= 0) {
|
||||
allocateValuesArray[addKey$kotlin_stdlib] = value;
|
||||
return null;
|
||||
}
|
||||
int i = (-addKey$kotlin_stdlib) - 1;
|
||||
V v3 = allocateValuesArray[i];
|
||||
allocateValuesArray[i] = value;
|
||||
return v3;
|
||||
}
|
||||
|
||||
@Override // java.util.Map
|
||||
public void putAll(Map<? extends K, ? extends V> from) {
|
||||
Intrinsics.checkNotNullParameter(from, "from");
|
||||
checkIsMutable$kotlin_stdlib();
|
||||
putAllEntries(from.entrySet());
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
@Override // java.util.Map
|
||||
public V remove(Object key) {
|
||||
int removeKey$kotlin_stdlib = removeKey$kotlin_stdlib(key);
|
||||
if (removeKey$kotlin_stdlib < 0) {
|
||||
return null;
|
||||
}
|
||||
V[] vArr = this.valuesArray;
|
||||
Intrinsics.checkNotNull(vArr);
|
||||
V v3 = vArr[removeKey$kotlin_stdlib];
|
||||
ListBuilderKt.resetAt(vArr, removeKey$kotlin_stdlib);
|
||||
return v3;
|
||||
}
|
||||
|
||||
public final boolean removeEntry$kotlin_stdlib(Map.Entry<? extends K, ? extends V> entry) {
|
||||
Intrinsics.checkNotNullParameter(entry, "entry");
|
||||
checkIsMutable$kotlin_stdlib();
|
||||
int findKey = findKey(entry.getKey());
|
||||
if (findKey < 0) {
|
||||
return false;
|
||||
}
|
||||
V[] vArr = this.valuesArray;
|
||||
Intrinsics.checkNotNull(vArr);
|
||||
if (!Intrinsics.areEqual(vArr[findKey], entry.getValue())) {
|
||||
return false;
|
||||
}
|
||||
removeKeyAt(findKey);
|
||||
return true;
|
||||
}
|
||||
|
||||
public final int removeKey$kotlin_stdlib(K key) {
|
||||
checkIsMutable$kotlin_stdlib();
|
||||
int findKey = findKey(key);
|
||||
if (findKey < 0) {
|
||||
return -1;
|
||||
}
|
||||
removeKeyAt(findKey);
|
||||
return findKey;
|
||||
}
|
||||
|
||||
public final boolean removeValue$kotlin_stdlib(V element) {
|
||||
checkIsMutable$kotlin_stdlib();
|
||||
int findValue = findValue(element);
|
||||
if (findValue < 0) {
|
||||
return false;
|
||||
}
|
||||
removeKeyAt(findValue);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override // java.util.Map
|
||||
public final /* bridge */ int size() {
|
||||
return getSize();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder((size() * 3) + 2);
|
||||
sb.append("{");
|
||||
EntriesItr<K, V> entriesIterator$kotlin_stdlib = entriesIterator$kotlin_stdlib();
|
||||
int i = 0;
|
||||
while (entriesIterator$kotlin_stdlib.hasNext()) {
|
||||
if (i > 0) {
|
||||
sb.append(", ");
|
||||
}
|
||||
entriesIterator$kotlin_stdlib.nextAppendString(sb);
|
||||
i++;
|
||||
}
|
||||
sb.append("}");
|
||||
String sb2 = sb.toString();
|
||||
Intrinsics.checkNotNullExpressionValue(sb2, "toString(...)");
|
||||
return sb2;
|
||||
}
|
||||
|
||||
@Override // java.util.Map
|
||||
public final /* bridge */ Collection<V> values() {
|
||||
return getValues();
|
||||
}
|
||||
|
||||
public final ValuesItr<K, V> valuesIterator$kotlin_stdlib() {
|
||||
return new ValuesItr<>(this);
|
||||
}
|
||||
|
||||
public MapBuilder() {
|
||||
this(8);
|
||||
}
|
||||
|
||||
public MapBuilder(int i) {
|
||||
this(ListBuilderKt.arrayOfUninitializedElements(i), null, new int[i], new int[INSTANCE.computeHashSize(i)], 2, 0);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
package kotlin.collections.builders;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.Iterator;
|
||||
import java.util.Map;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000H\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0010'\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\u001e\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0010&\n\u0002\b\u0002\n\u0002\u0010)\n\u0002\b\u0004\b\u0000\u0018\u0000*\u0004\b\u0000\u0010\u0001*\u0004\b\u0001\u0010\u00022 \u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0001\u0012\u0004\u0012\u0002H\u00020\u0004\u0012\u0004\u0012\u0002H\u0001\u0012\u0004\u0012\u0002H\u00020\u0003B\u001b\b\u0000\u0012\u0012\u0010\u0005\u001a\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010\u0006¢\u0006\u0002\u0010\u0007J\u001c\u0010\u000e\u001a\u00020\u000f2\u0012\u0010\u0010\u001a\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010\u0004H\u0016J\"\u0010\u0011\u001a\u00020\u000f2\u0018\u0010\u0012\u001a\u0014\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010\u00040\u0013H\u0016J\b\u0010\u0014\u001a\u00020\u0015H\u0016J\"\u0010\u0016\u001a\u00020\u000f2\u0018\u0010\u0012\u001a\u0014\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010\u00040\u0013H\u0016J\u001c\u0010\u0017\u001a\u00020\u000f2\u0012\u0010\u0010\u001a\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010\u0018H\u0016J\b\u0010\u0019\u001a\u00020\u000fH\u0016J\u001b\u0010\u001a\u001a\u0014\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010\u00040\u001bH\u0096\u0002J\u001c\u0010\u001c\u001a\u00020\u000f2\u0012\u0010\u0010\u001a\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010\u0004H\u0016J\"\u0010\u001d\u001a\u00020\u000f2\u0018\u0010\u0012\u001a\u0014\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010\u00040\u0013H\u0016J\"\u0010\u001e\u001a\u00020\u000f2\u0018\u0010\u0012\u001a\u0014\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010\u00040\u0013H\u0016R\u001d\u0010\u0005\u001a\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010\u0006¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u0014\u0010\n\u001a\u00020\u000b8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\f\u0010\r¨\u0006\u001f"}, d2 = {"Lkotlin/collections/builders/MapBuilderEntries;", "K", "V", "Lkotlin/collections/builders/AbstractMapBuilderEntrySet;", "", "backing", "Lkotlin/collections/builders/MapBuilder;", "(Lkotlin/collections/builders/MapBuilder;)V", "getBacking", "()Lkotlin/collections/builders/MapBuilder;", "size", "", "getSize", "()I", "add", "", "element", "addAll", "elements", "", "clear", "", "containsAll", "containsEntry", "", "isEmpty", "iterator", "", "remove", "removeAll", "retainAll", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public final class MapBuilderEntries<K, V> extends AbstractMapBuilderEntrySet<Map.Entry<K, V>, K, V> {
|
||||
private final MapBuilder<K, V> backing;
|
||||
|
||||
public MapBuilderEntries(MapBuilder<K, V> backing) {
|
||||
Intrinsics.checkNotNullParameter(backing, "backing");
|
||||
this.backing = backing;
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.Set
|
||||
public boolean addAll(Collection<? extends Map.Entry<K, V>> elements) {
|
||||
Intrinsics.checkNotNullParameter(elements, "elements");
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.Set
|
||||
public void clear() {
|
||||
this.backing.clear();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.Set
|
||||
public boolean containsAll(Collection<? extends Object> elements) {
|
||||
Intrinsics.checkNotNullParameter(elements, "elements");
|
||||
return this.backing.containsAllEntries$kotlin_stdlib(elements);
|
||||
}
|
||||
|
||||
@Override // kotlin.collections.builders.AbstractMapBuilderEntrySet
|
||||
public boolean containsEntry(Map.Entry<? extends K, ? extends V> element) {
|
||||
Intrinsics.checkNotNullParameter(element, "element");
|
||||
return this.backing.containsEntry$kotlin_stdlib(element);
|
||||
}
|
||||
|
||||
public final MapBuilder<K, V> getBacking() {
|
||||
return this.backing;
|
||||
}
|
||||
|
||||
@Override // kotlin.collections.AbstractMutableSet
|
||||
public int getSize() {
|
||||
return this.backing.size();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.Set
|
||||
public boolean isEmpty() {
|
||||
return this.backing.isEmpty();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.lang.Iterable, java.util.Set
|
||||
public Iterator<Map.Entry<K, V>> iterator() {
|
||||
return this.backing.entriesIterator$kotlin_stdlib();
|
||||
}
|
||||
|
||||
@Override // kotlin.collections.builders.AbstractMapBuilderEntrySet
|
||||
public boolean remove(Map.Entry element) {
|
||||
Intrinsics.checkNotNullParameter(element, "element");
|
||||
return this.backing.removeEntry$kotlin_stdlib(element);
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractSet, java.util.AbstractCollection, java.util.Collection, java.util.Set
|
||||
public boolean removeAll(Collection<? extends Object> elements) {
|
||||
Intrinsics.checkNotNullParameter(elements, "elements");
|
||||
this.backing.checkIsMutable$kotlin_stdlib();
|
||||
return super.removeAll(elements);
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.Set
|
||||
public boolean retainAll(Collection<? extends Object> elements) {
|
||||
Intrinsics.checkNotNullParameter(elements, "elements");
|
||||
this.backing.checkIsMutable$kotlin_stdlib();
|
||||
return super.retainAll(elements);
|
||||
}
|
||||
|
||||
@Override // kotlin.collections.AbstractMutableSet, java.util.AbstractCollection, java.util.Collection, java.util.Set
|
||||
public boolean add(Map.Entry<K, V> element) {
|
||||
Intrinsics.checkNotNullParameter(element, "element");
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
package kotlin.collections.builders;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.Iterator;
|
||||
import java.util.Set;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.AbstractMutableSet;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.markers.KMutableSet;
|
||||
|
||||
@Metadata(d1 = {"\u0000>\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010#\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0004\n\u0002\u0010\u001e\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0003\n\u0002\u0010)\n\u0002\b\u0004\b\u0000\u0018\u0000*\u0004\b\u0000\u0010\u00012\b\u0012\u0004\u0012\u0002H\u00010\u00022\b\u0012\u0004\u0012\u0002H\u00010\u0003B\u0019\b\u0000\u0012\u0010\u0010\u0004\u001a\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u0005¢\u0006\u0002\u0010\u0006J\u0015\u0010\u000b\u001a\u00020\f2\u0006\u0010\r\u001a\u00028\u0000H\u0016¢\u0006\u0002\u0010\u000eJ\u0016\u0010\u000f\u001a\u00020\f2\f\u0010\u0010\u001a\b\u0012\u0004\u0012\u00028\u00000\u0011H\u0016J\b\u0010\u0012\u001a\u00020\u0013H\u0016J\u0016\u0010\u0014\u001a\u00020\f2\u0006\u0010\r\u001a\u00028\u0000H\u0096\u0002¢\u0006\u0002\u0010\u000eJ\b\u0010\u0015\u001a\u00020\fH\u0016J\u000f\u0010\u0016\u001a\b\u0012\u0004\u0012\u00028\u00000\u0017H\u0096\u0002J\u0015\u0010\u0018\u001a\u00020\f2\u0006\u0010\r\u001a\u00028\u0000H\u0016¢\u0006\u0002\u0010\u000eJ\u0016\u0010\u0019\u001a\u00020\f2\f\u0010\u0010\u001a\b\u0012\u0004\u0012\u00028\u00000\u0011H\u0016J\u0016\u0010\u001a\u001a\u00020\f2\f\u0010\u0010\u001a\b\u0012\u0004\u0012\u00028\u00000\u0011H\u0016R\u0018\u0010\u0004\u001a\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u0005X\u0082\u0004¢\u0006\u0002\n\u0000R\u0014\u0010\u0007\u001a\u00020\b8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\t\u0010\n¨\u0006\u001b"}, d2 = {"Lkotlin/collections/builders/MapBuilderKeys;", "E", "", "Lkotlin/collections/AbstractMutableSet;", "backing", "Lkotlin/collections/builders/MapBuilder;", "(Lkotlin/collections/builders/MapBuilder;)V", "size", "", "getSize", "()I", "add", "", "element", "(Ljava/lang/Object;)Z", "addAll", "elements", "", "clear", "", "contains", "isEmpty", "iterator", "", "remove", "removeAll", "retainAll", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public final class MapBuilderKeys<E> extends AbstractMutableSet<E> implements Set<E>, KMutableSet {
|
||||
private final MapBuilder<E, ?> backing;
|
||||
|
||||
public MapBuilderKeys(MapBuilder<E, ?> backing) {
|
||||
Intrinsics.checkNotNullParameter(backing, "backing");
|
||||
this.backing = backing;
|
||||
}
|
||||
|
||||
@Override // kotlin.collections.AbstractMutableSet, java.util.AbstractCollection, java.util.Collection, java.util.Set
|
||||
public boolean add(E element) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.Set
|
||||
public boolean addAll(Collection<? extends E> elements) {
|
||||
Intrinsics.checkNotNullParameter(elements, "elements");
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.Set
|
||||
public void clear() {
|
||||
this.backing.clear();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.Set
|
||||
public boolean contains(Object element) {
|
||||
return this.backing.containsKey(element);
|
||||
}
|
||||
|
||||
@Override // kotlin.collections.AbstractMutableSet
|
||||
public int getSize() {
|
||||
return this.backing.size();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.Set
|
||||
public boolean isEmpty() {
|
||||
return this.backing.isEmpty();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.lang.Iterable, java.util.Set
|
||||
public Iterator<E> iterator() {
|
||||
return this.backing.keysIterator$kotlin_stdlib();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.Set
|
||||
public boolean remove(Object element) {
|
||||
return this.backing.removeKey$kotlin_stdlib(element) >= 0;
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractSet, java.util.AbstractCollection, java.util.Collection, java.util.Set
|
||||
public boolean removeAll(Collection<? extends Object> elements) {
|
||||
Intrinsics.checkNotNullParameter(elements, "elements");
|
||||
this.backing.checkIsMutable$kotlin_stdlib();
|
||||
return super.removeAll(elements);
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.Set
|
||||
public boolean retainAll(Collection<? extends Object> elements) {
|
||||
Intrinsics.checkNotNullParameter(elements, "elements");
|
||||
this.backing.checkIsMutable$kotlin_stdlib();
|
||||
return super.retainAll(elements);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
package kotlin.collections.builders;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.Iterator;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.AbstractMutableCollection;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.markers.KMutableCollection;
|
||||
|
||||
@Metadata(d1 = {"\u0000>\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u001f\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0004\n\u0002\u0010\u001e\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0003\n\u0002\u0010)\n\u0002\b\u0004\b\u0000\u0018\u0000*\u0004\b\u0000\u0010\u00012\b\u0012\u0004\u0012\u0002H\u00010\u00022\b\u0012\u0004\u0012\u0002H\u00010\u0003B\u0019\b\u0000\u0012\u0010\u0010\u0004\u001a\f\u0012\u0002\b\u0003\u0012\u0004\u0012\u00028\u00000\u0005¢\u0006\u0002\u0010\u0006J\u0015\u0010\r\u001a\u00020\u000e2\u0006\u0010\u000f\u001a\u00028\u0000H\u0016¢\u0006\u0002\u0010\u0010J\u0016\u0010\u0011\u001a\u00020\u000e2\f\u0010\u0012\u001a\b\u0012\u0004\u0012\u00028\u00000\u0013H\u0016J\b\u0010\u0014\u001a\u00020\u0015H\u0016J\u0016\u0010\u0016\u001a\u00020\u000e2\u0006\u0010\u000f\u001a\u00028\u0000H\u0096\u0002¢\u0006\u0002\u0010\u0010J\b\u0010\u0017\u001a\u00020\u000eH\u0016J\u000f\u0010\u0018\u001a\b\u0012\u0004\u0012\u00028\u00000\u0019H\u0096\u0002J\u0015\u0010\u001a\u001a\u00020\u000e2\u0006\u0010\u000f\u001a\u00028\u0000H\u0016¢\u0006\u0002\u0010\u0010J\u0016\u0010\u001b\u001a\u00020\u000e2\f\u0010\u0012\u001a\b\u0012\u0004\u0012\u00028\u00000\u0013H\u0016J\u0016\u0010\u001c\u001a\u00020\u000e2\f\u0010\u0012\u001a\b\u0012\u0004\u0012\u00028\u00000\u0013H\u0016R\u001b\u0010\u0004\u001a\f\u0012\u0002\b\u0003\u0012\u0004\u0012\u00028\u00000\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0014\u0010\t\u001a\u00020\n8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\u000b\u0010\f¨\u0006\u001d"}, d2 = {"Lkotlin/collections/builders/MapBuilderValues;", "V", "", "Lkotlin/collections/AbstractMutableCollection;", "backing", "Lkotlin/collections/builders/MapBuilder;", "(Lkotlin/collections/builders/MapBuilder;)V", "getBacking", "()Lkotlin/collections/builders/MapBuilder;", "size", "", "getSize", "()I", "add", "", "element", "(Ljava/lang/Object;)Z", "addAll", "elements", "", "clear", "", "contains", "isEmpty", "iterator", "", "remove", "removeAll", "retainAll", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public final class MapBuilderValues<V> extends AbstractMutableCollection<V> implements Collection<V>, KMutableCollection {
|
||||
private final MapBuilder<?, V> backing;
|
||||
|
||||
public MapBuilderValues(MapBuilder<?, V> backing) {
|
||||
Intrinsics.checkNotNullParameter(backing, "backing");
|
||||
this.backing = backing;
|
||||
}
|
||||
|
||||
@Override // kotlin.collections.AbstractMutableCollection, java.util.AbstractCollection, java.util.Collection
|
||||
public boolean add(V element) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection
|
||||
public boolean addAll(Collection<? extends V> elements) {
|
||||
Intrinsics.checkNotNullParameter(elements, "elements");
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection
|
||||
public void clear() {
|
||||
this.backing.clear();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection
|
||||
public boolean contains(Object element) {
|
||||
return this.backing.containsValue(element);
|
||||
}
|
||||
|
||||
public final MapBuilder<?, V> getBacking() {
|
||||
return this.backing;
|
||||
}
|
||||
|
||||
@Override // kotlin.collections.AbstractMutableCollection
|
||||
public int getSize() {
|
||||
return this.backing.size();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection
|
||||
public boolean isEmpty() {
|
||||
return this.backing.isEmpty();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.lang.Iterable
|
||||
public Iterator<V> iterator() {
|
||||
return this.backing.valuesIterator$kotlin_stdlib();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection
|
||||
public boolean remove(Object element) {
|
||||
return this.backing.removeValue$kotlin_stdlib(element);
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection
|
||||
public boolean removeAll(Collection<? extends Object> elements) {
|
||||
Intrinsics.checkNotNullParameter(elements, "elements");
|
||||
this.backing.checkIsMutable$kotlin_stdlib();
|
||||
return super.removeAll(elements);
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection
|
||||
public boolean retainAll(Collection<? extends Object> elements) {
|
||||
Intrinsics.checkNotNullParameter(elements, "elements");
|
||||
this.backing.checkIsMutable$kotlin_stdlib();
|
||||
return super.retainAll(elements);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
package kotlin.collections.builders;
|
||||
|
||||
import java.io.Externalizable;
|
||||
import java.io.InvalidObjectException;
|
||||
import java.io.ObjectInput;
|
||||
import java.io.ObjectOutput;
|
||||
import java.util.Collection;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.CollectionsKt;
|
||||
import kotlin.collections.SetsKt;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
|
||||
@Metadata(d1 = {"\u00006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u001e\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0000\u0018\u0000 \u00112\u00020\u0001:\u0001\u0011B\u0007\b\u0016¢\u0006\u0002\u0010\u0002B\u0019\u0012\n\u0010\u0003\u001a\u0006\u0012\u0002\b\u00030\u0004\u0012\u0006\u0010\u0005\u001a\u00020\u0006¢\u0006\u0002\u0010\u0007J\u0010\u0010\b\u001a\u00020\t2\u0006\u0010\n\u001a\u00020\u000bH\u0016J\b\u0010\f\u001a\u00020\rH\u0002J\u0010\u0010\u000e\u001a\u00020\t2\u0006\u0010\u000f\u001a\u00020\u0010H\u0016R\u0012\u0010\u0003\u001a\u0006\u0012\u0002\b\u00030\u0004X\u0082\u000e¢\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\u0012"}, d2 = {"Lkotlin/collections/builders/SerializedCollection;", "Ljava/io/Externalizable;", "()V", "collection", "", "tag", "", "(Ljava/util/Collection;I)V", "readExternal", "", "input", "Ljava/io/ObjectInput;", "readResolve", "", "writeExternal", "output", "Ljava/io/ObjectOutput;", "Companion", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nListBuilder.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ListBuilder.kt\nkotlin/collections/builders/SerializedCollection\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,487:1\n1#2:488\n*E\n"})
|
||||
/* loaded from: classes3.dex */
|
||||
public final class SerializedCollection implements Externalizable {
|
||||
private static final long serialVersionUID = 0;
|
||||
public static final int tagList = 0;
|
||||
public static final int tagSet = 1;
|
||||
private Collection<?> collection;
|
||||
private final int tag;
|
||||
|
||||
public SerializedCollection(Collection<?> collection, int i) {
|
||||
Intrinsics.checkNotNullParameter(collection, "collection");
|
||||
this.collection = collection;
|
||||
this.tag = i;
|
||||
}
|
||||
|
||||
private final Object readResolve() {
|
||||
return this.collection;
|
||||
}
|
||||
|
||||
@Override // java.io.Externalizable
|
||||
public void readExternal(ObjectInput input) {
|
||||
List build;
|
||||
Intrinsics.checkNotNullParameter(input, "input");
|
||||
byte readByte = input.readByte();
|
||||
int i = readByte & 1;
|
||||
if ((readByte & (-2)) != 0) {
|
||||
throw new InvalidObjectException("Unsupported flags value: " + ((int) readByte) + '.');
|
||||
}
|
||||
int readInt = input.readInt();
|
||||
if (readInt < 0) {
|
||||
throw new InvalidObjectException("Illegal size value: " + readInt + '.');
|
||||
}
|
||||
int i4 = 0;
|
||||
if (i == 0) {
|
||||
List createListBuilder = CollectionsKt.createListBuilder(readInt);
|
||||
while (i4 < readInt) {
|
||||
createListBuilder.add(input.readObject());
|
||||
i4++;
|
||||
}
|
||||
build = CollectionsKt.build(createListBuilder);
|
||||
} else {
|
||||
if (i != 1) {
|
||||
throw new InvalidObjectException("Unsupported collection type tag: " + i + '.');
|
||||
}
|
||||
Set createSetBuilder = SetsKt.createSetBuilder(readInt);
|
||||
while (i4 < readInt) {
|
||||
createSetBuilder.add(input.readObject());
|
||||
i4++;
|
||||
}
|
||||
build = SetsKt.build(createSetBuilder);
|
||||
}
|
||||
this.collection = build;
|
||||
}
|
||||
|
||||
@Override // java.io.Externalizable
|
||||
public void writeExternal(ObjectOutput output) {
|
||||
Intrinsics.checkNotNullParameter(output, "output");
|
||||
output.writeByte(this.tag);
|
||||
output.writeInt(this.collection.size());
|
||||
Iterator<?> it = this.collection.iterator();
|
||||
while (it.hasNext()) {
|
||||
output.writeObject(it.next());
|
||||
}
|
||||
}
|
||||
|
||||
public SerializedCollection() {
|
||||
this(CollectionsKt.emptyList(), 0);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
package kotlin.collections.builders;
|
||||
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import java.io.Externalizable;
|
||||
import java.io.InvalidObjectException;
|
||||
import java.io.ObjectInput;
|
||||
import java.io.ObjectOutput;
|
||||
import java.util.Map;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.MapsKt;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u00000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010$\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0002\u0018\u0000 \u000f2\u00020\u0001:\u0001\u000fB\u0007\b\u0016¢\u0006\u0002\u0010\u0002B\u0015\u0012\u000e\u0010\u0003\u001a\n\u0012\u0002\b\u0003\u0012\u0002\b\u00030\u0004¢\u0006\u0002\u0010\u0005J\u0010\u0010\u0006\u001a\u00020\u00072\u0006\u0010\b\u001a\u00020\tH\u0016J\b\u0010\n\u001a\u00020\u000bH\u0002J\u0010\u0010\f\u001a\u00020\u00072\u0006\u0010\r\u001a\u00020\u000eH\u0016R\u0016\u0010\u0003\u001a\n\u0012\u0002\b\u0003\u0012\u0002\b\u00030\u0004X\u0082\u000e¢\u0006\u0002\n\u0000¨\u0006\u0010"}, d2 = {"Lkotlin/collections/builders/SerializedMap;", "Ljava/io/Externalizable;", "()V", "map", "", "(Ljava/util/Map;)V", "readExternal", "", "input", "Ljava/io/ObjectInput;", "readResolve", "", "writeExternal", "output", "Ljava/io/ObjectOutput;", "Companion", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
final class SerializedMap implements Externalizable {
|
||||
private static final long serialVersionUID = 0;
|
||||
private Map<?, ?> map;
|
||||
|
||||
public SerializedMap(Map<?, ?> map) {
|
||||
Intrinsics.checkNotNullParameter(map, "map");
|
||||
this.map = map;
|
||||
}
|
||||
|
||||
private final Object readResolve() {
|
||||
return this.map;
|
||||
}
|
||||
|
||||
@Override // java.io.Externalizable
|
||||
public void readExternal(ObjectInput input) {
|
||||
Intrinsics.checkNotNullParameter(input, "input");
|
||||
byte readByte = input.readByte();
|
||||
if (readByte != 0) {
|
||||
throw new InvalidObjectException(a.l(readByte, "Unsupported flags value: "));
|
||||
}
|
||||
int readInt = input.readInt();
|
||||
if (readInt < 0) {
|
||||
throw new InvalidObjectException("Illegal size value: " + readInt + '.');
|
||||
}
|
||||
Map createMapBuilder = MapsKt.createMapBuilder(readInt);
|
||||
for (int i = 0; i < readInt; i++) {
|
||||
createMapBuilder.put(input.readObject(), input.readObject());
|
||||
}
|
||||
this.map = MapsKt.build(createMapBuilder);
|
||||
}
|
||||
|
||||
@Override // java.io.Externalizable
|
||||
public void writeExternal(ObjectOutput output) {
|
||||
Intrinsics.checkNotNullParameter(output, "output");
|
||||
output.writeByte(0);
|
||||
output.writeInt(this.map.size());
|
||||
for (Map.Entry<?, ?> entry : this.map.entrySet()) {
|
||||
output.writeObject(entry.getKey());
|
||||
output.writeObject(entry.getValue());
|
||||
}
|
||||
}
|
||||
|
||||
public SerializedMap() {
|
||||
this(MapsKt.emptyMap());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,112 @@
|
||||
package kotlin.collections.builders;
|
||||
|
||||
import java.io.NotSerializableException;
|
||||
import java.io.Serializable;
|
||||
import java.util.Collection;
|
||||
import java.util.Iterator;
|
||||
import java.util.Set;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.AbstractMutableSet;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.markers.KMutableSet;
|
||||
|
||||
@Metadata(d1 = {"\u0000V\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010#\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u000b\n\u0002\b\u0004\n\u0002\u0010\u001e\n\u0000\n\u0002\u0010\"\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0003\n\u0002\u0010)\n\u0002\b\u0004\n\u0002\u0010\u0000\n\u0002\b\u0002\b\u0000\u0018\u0000 $*\u0004\b\u0000\u0010\u00012\b\u0012\u0004\u0012\u0002H\u00010\u00022\b\u0012\u0004\u0012\u0002H\u00010\u00032\u00060\u0004j\u0002`\u0005:\u0001$B\u0007\b\u0016¢\u0006\u0002\u0010\u0006B\u000f\b\u0016\u0012\u0006\u0010\u0007\u001a\u00020\b¢\u0006\u0002\u0010\tB\u0019\b\u0000\u0012\u0010\u0010\n\u001a\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u000b¢\u0006\u0002\u0010\fJ\u0015\u0010\u0010\u001a\u00020\u00112\u0006\u0010\u0012\u001a\u00028\u0000H\u0016¢\u0006\u0002\u0010\u0013J\u0016\u0010\u0014\u001a\u00020\u00112\f\u0010\u0015\u001a\b\u0012\u0004\u0012\u00028\u00000\u0016H\u0016J\f\u0010\u0017\u001a\b\u0012\u0004\u0012\u00028\u00000\u0018J\b\u0010\u0019\u001a\u00020\u001aH\u0016J\u0016\u0010\u001b\u001a\u00020\u00112\u0006\u0010\u0012\u001a\u00028\u0000H\u0096\u0002¢\u0006\u0002\u0010\u0013J\b\u0010\u001c\u001a\u00020\u0011H\u0016J\u000f\u0010\u001d\u001a\b\u0012\u0004\u0012\u00028\u00000\u001eH\u0096\u0002J\u0015\u0010\u001f\u001a\u00020\u00112\u0006\u0010\u0012\u001a\u00028\u0000H\u0016¢\u0006\u0002\u0010\u0013J\u0016\u0010 \u001a\u00020\u00112\f\u0010\u0015\u001a\b\u0012\u0004\u0012\u00028\u00000\u0016H\u0016J\u0016\u0010!\u001a\u00020\u00112\f\u0010\u0015\u001a\b\u0012\u0004\u0012\u00028\u00000\u0016H\u0016J\b\u0010\"\u001a\u00020#H\u0002R\u0018\u0010\n\u001a\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u000bX\u0082\u0004¢\u0006\u0002\n\u0000R\u0014\u0010\r\u001a\u00020\b8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\u000e\u0010\u000f¨\u0006%"}, d2 = {"Lkotlin/collections/builders/SetBuilder;", "E", "", "Lkotlin/collections/AbstractMutableSet;", "Ljava/io/Serializable;", "Lkotlin/io/Serializable;", "()V", "initialCapacity", "", "(I)V", "backing", "Lkotlin/collections/builders/MapBuilder;", "(Lkotlin/collections/builders/MapBuilder;)V", "size", "getSize", "()I", "add", "", "element", "(Ljava/lang/Object;)Z", "addAll", "elements", "", "build", "", "clear", "", "contains", "isEmpty", "iterator", "", "remove", "removeAll", "retainAll", "writeReplace", "", "Companion", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public final class SetBuilder<E> extends AbstractMutableSet<E> implements Set<E>, Serializable, KMutableSet {
|
||||
private static final Companion Companion = new Companion(null);
|
||||
private static final SetBuilder Empty = new SetBuilder(MapBuilder.INSTANCE.getEmpty$kotlin_stdlib());
|
||||
private final MapBuilder<E, ?> backing;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0001\n\u0000\b\u0082\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0014\u0010\u0003\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\u0006"}, d2 = {"Lkotlin/collections/builders/SetBuilder$Companion;", "", "()V", "Empty", "Lkotlin/collections/builders/SetBuilder;", "", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
public SetBuilder(MapBuilder<E, ?> backing) {
|
||||
Intrinsics.checkNotNullParameter(backing, "backing");
|
||||
this.backing = backing;
|
||||
}
|
||||
|
||||
private final Object writeReplace() {
|
||||
if (this.backing.getIsReadOnly()) {
|
||||
return new SerializedCollection(this, 1);
|
||||
}
|
||||
throw new NotSerializableException("The set cannot be serialized while it is being built.");
|
||||
}
|
||||
|
||||
@Override // kotlin.collections.AbstractMutableSet, java.util.AbstractCollection, java.util.Collection, java.util.Set
|
||||
public boolean add(E element) {
|
||||
return this.backing.addKey$kotlin_stdlib(element) >= 0;
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.Set
|
||||
public boolean addAll(Collection<? extends E> elements) {
|
||||
Intrinsics.checkNotNullParameter(elements, "elements");
|
||||
this.backing.checkIsMutable$kotlin_stdlib();
|
||||
return super.addAll(elements);
|
||||
}
|
||||
|
||||
public final Set<E> build() {
|
||||
this.backing.build();
|
||||
return size() > 0 ? this : Empty;
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.Set
|
||||
public void clear() {
|
||||
this.backing.clear();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.Set
|
||||
public boolean contains(Object element) {
|
||||
return this.backing.containsKey(element);
|
||||
}
|
||||
|
||||
@Override // kotlin.collections.AbstractMutableSet
|
||||
public int getSize() {
|
||||
return this.backing.size();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.Set
|
||||
public boolean isEmpty() {
|
||||
return this.backing.isEmpty();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.lang.Iterable, java.util.Set
|
||||
public Iterator<E> iterator() {
|
||||
return this.backing.keysIterator$kotlin_stdlib();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.Set
|
||||
public boolean remove(Object element) {
|
||||
return this.backing.removeKey$kotlin_stdlib(element) >= 0;
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractSet, java.util.AbstractCollection, java.util.Collection, java.util.Set
|
||||
public boolean removeAll(Collection<? extends Object> elements) {
|
||||
Intrinsics.checkNotNullParameter(elements, "elements");
|
||||
this.backing.checkIsMutable$kotlin_stdlib();
|
||||
return super.removeAll(elements);
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.Set
|
||||
public boolean retainAll(Collection<? extends Object> elements) {
|
||||
Intrinsics.checkNotNullParameter(elements, "elements");
|
||||
this.backing.checkIsMutable$kotlin_stdlib();
|
||||
return super.retainAll(elements);
|
||||
}
|
||||
|
||||
public SetBuilder() {
|
||||
this(new MapBuilder());
|
||||
}
|
||||
|
||||
public SetBuilder(int i) {
|
||||
this(new MapBuilder(i));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user