MemoryCache.smali
.class public interface abstract Lcom/facebook/imagepipeline/cache/MemoryCache;
.super Ljava/lang/Object;
.source "MemoryCache.java"
# interfaces
.implements Lcom/facebook/common/memory/MemoryTrimmable;
.implements Lcom/facebook/cache/common/HasDebugData;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/imagepipeline/cache/MemoryCache$CacheTrimStrategy;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lcom/facebook/common/memory/MemoryTrimmable;",
"Lcom/facebook/cache/common/HasDebugData;"
}
.end annotation
# virtual methods
.method public abstract cache(Ljava/lang/Object;Lcom/facebook/common/references/CloseableReference;)Lcom/facebook/common/references/CloseableReference;
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"key",
"value"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TK;",
"Lcom/facebook/common/references/CloseableReference<",
"TV;>;)",
"Lcom/facebook/common/references/CloseableReference<",
"TV;>;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end method
.method public abstract contains(Lcom/facebook/common/internal/Predicate;)Z
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"predicate"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/common/internal/Predicate<",
"TK;>;)Z"
}
.end annotation
.end method
.method public abstract contains(Ljava/lang/Object;)Z
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"key"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TK;)Z"
}
.end annotation
.end method
.method public abstract get(Ljava/lang/Object;)Lcom/facebook/common/references/CloseableReference;
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"key"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TK;)",
"Lcom/facebook/common/references/CloseableReference<",
"TV;>;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end method
.method public abstract getCount()I
.end method
.method public abstract getSizeInBytes()I
.end method
.method public abstract probe(Ljava/lang/Object;)V
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"key"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TK;)V"
}
.end annotation
.end method
.method public abstract removeAll(Lcom/facebook/common/internal/Predicate;)I
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"predicate"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/common/internal/Predicate<",
"TK;>;)I"
}
.end annotation
.end method