Rabbit-R1/switch port/java/sources/com/google/common/collect/ImmutableEntry.java
2024-05-21 17:08:36 -04:00

39 lines
1.1 KiB
Java

package com.google.common.collect;
import java.io.Serializable;
@ElementTypesAreNonnullByDefault
/* loaded from: classes3.dex */
class ImmutableEntry<K, V> extends AbstractMapEntry<K, V> implements Serializable {
private static final long serialVersionUID = 0;
@ParametricNullness
final K key;
@ParametricNullness
final V value;
@Override // com.google.common.collect.AbstractMapEntry, java.util.Map.Entry
@ParametricNullness
public final K getKey() {
return this.key;
}
@Override // com.google.common.collect.AbstractMapEntry, java.util.Map.Entry
@ParametricNullness
public final V getValue() {
return this.value;
}
/* JADX INFO: Access modifiers changed from: package-private */
public ImmutableEntry(@ParametricNullness K k, @ParametricNullness V v) {
this.key = k;
this.value = v;
}
@Override // com.google.common.collect.AbstractMapEntry, java.util.Map.Entry
@ParametricNullness
public final V setValue(@ParametricNullness V v) {
throw new UnsupportedOperationException();
}
}