- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
58 lines
1.4 KiB
Java
58 lines
1.4 KiB
Java
package androidx.collection;
|
|
|
|
import java.util.Map;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import kotlin.jvm.internal.markers.KMutableMap;
|
|
|
|
/* loaded from: classes.dex */
|
|
final class MutableMapEntry<K, V> implements Map.Entry<K, V>, KMutableMap.Entry {
|
|
private final int index;
|
|
private final Object[] keys;
|
|
private final Object[] values;
|
|
|
|
public static /* synthetic */ void getKey$annotations() {
|
|
}
|
|
|
|
public static /* synthetic */ void getValue$annotations() {
|
|
}
|
|
|
|
public final int getIndex() {
|
|
return this.index;
|
|
}
|
|
|
|
public final Object[] getKeys() {
|
|
return this.keys;
|
|
}
|
|
|
|
public final Object[] getValues() {
|
|
return this.values;
|
|
}
|
|
|
|
public MutableMapEntry(Object[] keys, Object[] values, int i) {
|
|
Intrinsics.checkNotNullParameter(keys, "keys");
|
|
Intrinsics.checkNotNullParameter(values, "values");
|
|
this.keys = keys;
|
|
this.values = values;
|
|
this.index = i;
|
|
}
|
|
|
|
@Override // java.util.Map.Entry
|
|
public V setValue(V v) {
|
|
Object[] objArr = this.values;
|
|
int i = this.index;
|
|
V v2 = (V) objArr[i];
|
|
objArr[i] = v;
|
|
return v2;
|
|
}
|
|
|
|
@Override // java.util.Map.Entry
|
|
public K getKey() {
|
|
return (K) this.keys[this.index];
|
|
}
|
|
|
|
@Override // java.util.Map.Entry
|
|
public V getValue() {
|
|
return (V) this.values[this.index];
|
|
}
|
|
}
|