what-the-bank/sources/com/google/common/collect/ImmutableEntry.java

32 lines
895 B
Java

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