throw new UnsupportedOperationException();
}
public boolean equals(Object obj) {
if (obj instanceof CacheEntry) {
CacheEntry other = (CacheEntry) obj;
return Objects.equals(key, other.getKey()) && Objects.equals(value, other.getValue());
}
return false;
}