mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
302 lines
6.8 KiB
Smali
302 lines
6.8 KiB
Smali
.class public abstract Lcom/google/common/cache/AbstractCache;
|
|
.super Ljava/lang/Object;
|
|
.source "AbstractCache.java"
|
|
|
|
# interfaces
|
|
.implements Lcom/google/common/cache/Cache;
|
|
|
|
|
|
# annotations
|
|
.annotation runtime Lcom/google/common/cache/ElementTypesAreNonnullByDefault;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/google/common/cache/AbstractCache$SimpleStatsCounter;,
|
|
Lcom/google/common/cache/AbstractCache$StatsCounter;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<K:",
|
|
"Ljava/lang/Object;",
|
|
"V:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Lcom/google/common/cache/Cache<",
|
|
"TK;TV;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method protected constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 45
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public asMap()Ljava/util/concurrent/ConcurrentMap;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/concurrent/ConcurrentMap<",
|
|
"TK;TV;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 130
|
|
new-instance p0, Ljava/lang/UnsupportedOperationException;
|
|
|
|
invoke-direct {p0}, Ljava/lang/UnsupportedOperationException;-><init>()V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public cleanUp()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public get(Ljava/lang/Object;Ljava/util/concurrent/Callable;)Ljava/lang/Object;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TK;",
|
|
"Ljava/util/concurrent/Callable<",
|
|
"+TV;>;)TV;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/util/concurrent/ExecutionException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 50
|
|
new-instance p0, Ljava/lang/UnsupportedOperationException;
|
|
|
|
invoke-direct {p0}, Ljava/lang/UnsupportedOperationException;-><init>()V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public getAllPresent(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableMap;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Iterable<",
|
|
"+",
|
|
"Ljava/lang/Object;",
|
|
">;)",
|
|
"Lcom/google/common/collect/ImmutableMap<",
|
|
"TK;TV;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 68
|
|
invoke-static {}, Lcom/google/common/collect/Maps;->newLinkedHashMap()Ljava/util/LinkedHashMap;
|
|
|
|
move-result-object v0
|
|
|
|
.line 69
|
|
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p1
|
|
|
|
:cond_0
|
|
:goto_0
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
.line 70
|
|
invoke-interface {v0, v1}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
.line 73
|
|
invoke-virtual {p0, v1}, Lcom/google/common/cache/AbstractCache;->getIfPresent(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 75
|
|
invoke-interface {v0, v1, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
goto :goto_0
|
|
|
|
.line 79
|
|
:cond_1
|
|
invoke-static {v0}, Lcom/google/common/collect/ImmutableMap;->copyOf(Ljava/util/Map;)Lcom/google/common/collect/ImmutableMap;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public invalidate(Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
.line 106
|
|
new-instance p0, Ljava/lang/UnsupportedOperationException;
|
|
|
|
invoke-direct {p0}, Ljava/lang/UnsupportedOperationException;-><init>()V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public invalidateAll()V
|
|
.locals 0
|
|
|
|
.line 120
|
|
new-instance p0, Ljava/lang/UnsupportedOperationException;
|
|
|
|
invoke-direct {p0}, Ljava/lang/UnsupportedOperationException;-><init>()V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public invalidateAll(Ljava/lang/Iterable;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Iterable<",
|
|
"+",
|
|
"Ljava/lang/Object;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 113
|
|
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_0
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
.line 114
|
|
invoke-virtual {p0, v0}, Lcom/google/common/cache/AbstractCache;->invalidate(Ljava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public put(Ljava/lang/Object;Ljava/lang/Object;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TK;TV;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 85
|
|
new-instance p0, Ljava/lang/UnsupportedOperationException;
|
|
|
|
invoke-direct {p0}, Ljava/lang/UnsupportedOperationException;-><init>()V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public putAll(Ljava/util/Map;)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/Map<",
|
|
"+TK;+TV;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 91
|
|
invoke-interface {p1}, Ljava/util/Map;->entrySet()Ljava/util/Set;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_0
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/util/Map$Entry;
|
|
|
|
.line 92
|
|
invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p0, v1, v0}, Lcom/google/common/cache/AbstractCache;->put(Ljava/lang/Object;Ljava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public size()J
|
|
.locals 0
|
|
|
|
.line 101
|
|
new-instance p0, Ljava/lang/UnsupportedOperationException;
|
|
|
|
invoke-direct {p0}, Ljava/lang/UnsupportedOperationException;-><init>()V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public stats()Lcom/google/common/cache/CacheStats;
|
|
.locals 0
|
|
|
|
.line 125
|
|
new-instance p0, Ljava/lang/UnsupportedOperationException;
|
|
|
|
invoke-direct {p0}, Ljava/lang/UnsupportedOperationException;-><init>()V
|
|
|
|
throw p0
|
|
.end method
|