MemCacheKey.java
/*
* Decompiled with CFR 0_132.
*/
package org.xutils.image;
import org.xutils.image.ImageOptions;
final class MemCacheKey {
public final String url;
public final ImageOptions options;
public MemCacheKey(String url, ImageOptions options) {
this.url = url;
this.options = options;
}
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || this.getClass() != o.getClass()) {
return false;
}
MemCacheKey that = (MemCacheKey)o;
if (!this.url.equals(that.url)) {
return false;
}
return this.options.equals(that.options);
}
public int hashCode() {
int result = this.url.hashCode();
result = 31 * result + this.options.hashCode();
return result;
}
public String toString() {
return this.url + this.options.toString();
}
}