basic support for multiple cache lists
This commit is contained in:
@@ -240,6 +240,23 @@ public class Cache {
|
||||
this.found = found;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) return true;
|
||||
if (o == null || getClass() != o.getClass()) return false;
|
||||
|
||||
Cache cache = (Cache) o;
|
||||
|
||||
if (id != null ? !id.equals(cache.id) : cache.id != null) return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return id != null ? id.hashCode() : 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Cache{"
|
||||
|
||||
Reference in New Issue
Block a user