basic support for multiple cache lists

This commit is contained in:
2014-06-09 22:49:57 +02:00
parent 615d277359
commit 2cc63e28f8
17 changed files with 391 additions and 37 deletions

View File

@@ -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{"