22 lines
409 B
Java
22 lines
409 B
Java
package com.squareup.picasso;
|
|
|
|
/* loaded from: classes.dex */
|
|
public enum MemoryPolicy {
|
|
NO_CACHE(1),
|
|
NO_STORE(2);
|
|
|
|
final int index;
|
|
|
|
MemoryPolicy(int i) {
|
|
this.index = i;
|
|
}
|
|
|
|
static boolean shouldReadFromMemoryCache(int i) {
|
|
return (i & NO_CACHE.index) == 0;
|
|
}
|
|
|
|
static boolean shouldWriteToMemoryCache(int i) {
|
|
return (i & NO_STORE.index) == 0;
|
|
}
|
|
}
|