package com.google.common.cache; import com.google.common.base.Preconditions; import java.util.AbstractMap; /* loaded from: classes.dex */ public final class RemovalNotification extends AbstractMap.SimpleImmutableEntry { private static final long serialVersionUID = 0; private final RemovalCause cause; private RemovalNotification(K k, V v, RemovalCause removalCause) { super(k, v); Preconditions.a(removalCause); this.cause = removalCause; } public static RemovalNotification create(K k, V v, RemovalCause removalCause) { return new RemovalNotification<>(k, v, removalCause); } public RemovalCause getCause() { return this.cause; } public boolean wasEvicted() { return this.cause.wasEvicted(); } }