package androidx.collection.internal; import java.util.LinkedHashMap; import java.util.Map; import java.util.Set; import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.jvm.internal.Intrinsics; /* loaded from: classes.dex */ public final class LruHashMap { private final LinkedHashMap map; public LruHashMap() { this(0, 0.0f, 3, null); } public LruHashMap(int i, float f) { this.map = new LinkedHashMap<>(i, f, true); } public /* synthetic */ LruHashMap(int i, float f, int i2, DefaultConstructorMarker defaultConstructorMarker) { this((i2 & 1) != 0 ? 16 : i, (i2 & 2) != 0 ? 0.75f : f); } /* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */ public LruHashMap(LruHashMap original) { this(0, 0.0f, 3, null); Intrinsics.checkNotNullParameter(original, "original"); for (Map.Entry entry : original.getEntries()) { put(entry.getKey(), entry.getValue()); } } public final boolean isEmpty() { return this.map.isEmpty(); } public final Set> getEntries() { Set> entrySet = this.map.entrySet(); Intrinsics.checkNotNullExpressionValue(entrySet, "map.entries"); return entrySet; } public final V get(K key) { Intrinsics.checkNotNullParameter(key, "key"); return this.map.get(key); } public final V put(K key, V value) { Intrinsics.checkNotNullParameter(key, "key"); Intrinsics.checkNotNullParameter(value, "value"); return this.map.put(key, value); } public final V remove(K key) { Intrinsics.checkNotNullParameter(key, "key"); return this.map.remove(key); } }