You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1652 lines
49 KiB
1652 lines
49 KiB
.class public final Lcom/google/common/collect/Multimaps; |
|
.super Ljava/lang/Object; |
|
.source "Multimaps.java" |
|
|
|
|
|
# annotations |
|
.annotation build Lcom/google/common/annotations/GwtCompatible; |
|
emulated = true |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/MemberClasses; |
|
value = { |
|
Lcom/google/common/collect/Multimaps$AsMap;, |
|
Lcom/google/common/collect/Multimaps$Entries;, |
|
Lcom/google/common/collect/Multimaps$Keys;, |
|
Lcom/google/common/collect/Multimaps$TransformedEntriesListMultimap;, |
|
Lcom/google/common/collect/Multimaps$TransformedEntriesMultimap;, |
|
Lcom/google/common/collect/Multimaps$MapMultimap;, |
|
Lcom/google/common/collect/Multimaps$UnmodifiableSortedSetMultimap;, |
|
Lcom/google/common/collect/Multimaps$UnmodifiableSetMultimap;, |
|
Lcom/google/common/collect/Multimaps$UnmodifiableListMultimap;, |
|
Lcom/google/common/collect/Multimaps$UnmodifiableMultimap;, |
|
Lcom/google/common/collect/Multimaps$CustomSortedSetMultimap;, |
|
Lcom/google/common/collect/Multimaps$CustomSetMultimap;, |
|
Lcom/google/common/collect/Multimaps$CustomListMultimap;, |
|
Lcom/google/common/collect/Multimaps$CustomMultimap; |
|
} |
|
.end annotation |
|
|
|
|
|
# direct methods |
|
.method private constructor <init>()V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 66 |
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
.method static synthetic access$000(Ljava/util/Collection;)Ljava/util/Collection; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 65 |
|
invoke-static {p0}, Lcom/google/common/collect/Multimaps;->unmodifiableValueCollection(Ljava/util/Collection;)Ljava/util/Collection; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method static synthetic access$100(Ljava/util/Collection;)Ljava/util/Collection; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 65 |
|
invoke-static {p0}, Lcom/google/common/collect/Multimaps;->unmodifiableEntries(Ljava/util/Collection;)Ljava/util/Collection; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public static asMap(Lcom/google/common/collect/ListMultimap;)Ljava/util/Map; |
|
.locals 1 |
|
.annotation build Lcom/google/common/annotations/Beta; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/ListMultimap", |
|
"<TK;TV;>;)", |
|
"Ljava/util/Map", |
|
"<TK;", |
|
"Ljava/util/List", |
|
"<TV;>;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 863 |
|
invoke-interface {p0}, Lcom/google/common/collect/ListMultimap;->asMap()Ljava/util/Map; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public static asMap(Lcom/google/common/collect/Multimap;)Ljava/util/Map; |
|
.locals 1 |
|
.annotation build Lcom/google/common/annotations/Beta; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/Multimap", |
|
"<TK;TV;>;)", |
|
"Ljava/util/Map", |
|
"<TK;", |
|
"Ljava/util/Collection", |
|
"<TV;>;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 902 |
|
invoke-interface {p0}, Lcom/google/common/collect/Multimap;->asMap()Ljava/util/Map; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public static asMap(Lcom/google/common/collect/SetMultimap;)Ljava/util/Map; |
|
.locals 1 |
|
.annotation build Lcom/google/common/annotations/Beta; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/SetMultimap", |
|
"<TK;TV;>;)", |
|
"Ljava/util/Map", |
|
"<TK;", |
|
"Ljava/util/Set", |
|
"<TV;>;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 876 |
|
invoke-interface {p0}, Lcom/google/common/collect/SetMultimap;->asMap()Ljava/util/Map; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public static asMap(Lcom/google/common/collect/SortedSetMultimap;)Ljava/util/Map; |
|
.locals 1 |
|
.annotation build Lcom/google/common/annotations/Beta; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/SortedSetMultimap", |
|
"<TK;TV;>;)", |
|
"Ljava/util/Map", |
|
"<TK;", |
|
"Ljava/util/SortedSet", |
|
"<TV;>;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 891 |
|
invoke-interface {p0}, Lcom/google/common/collect/SortedSetMultimap;->asMap()Ljava/util/Map; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method static equalsImpl(Lcom/google/common/collect/Multimap;Ljava/lang/Object;)Z |
|
.locals 2 |
|
.param p1 # Ljava/lang/Object; |
|
.annotation runtime Ljavax/annotation/Nullable; |
|
.end annotation |
|
.end param |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(", |
|
"Lcom/google/common/collect/Multimap", |
|
"<**>;", |
|
"Ljava/lang/Object;", |
|
")Z" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 2048 |
|
if-ne p1, p0, :cond_0 |
|
|
|
.line 2049 |
|
const/4 v0, 0x1 |
|
|
|
.line 2055 |
|
:goto_0 |
|
return v0 |
|
|
|
.line 2051 |
|
:cond_0 |
|
instance-of v0, p1, Lcom/google/common/collect/Multimap; |
|
|
|
if-eqz v0, :cond_1 |
|
|
|
.line 2052 |
|
check-cast p1, Lcom/google/common/collect/Multimap; |
|
|
|
.line 2053 |
|
invoke-interface {p0}, Lcom/google/common/collect/Multimap;->asMap()Ljava/util/Map; |
|
|
|
move-result-object v0 |
|
|
|
invoke-interface {p1}, Lcom/google/common/collect/Multimap;->asMap()Ljava/util/Map; |
|
|
|
move-result-object v1 |
|
|
|
invoke-interface {v0, v1}, Ljava/util/Map;->equals(Ljava/lang/Object;)Z |
|
|
|
move-result v0 |
|
|
|
goto :goto_0 |
|
|
|
.line 2055 |
|
:cond_1 |
|
const/4 v0, 0x0 |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method public static filterEntries(Lcom/google/common/collect/Multimap;Lcom/google/common/base/Predicate;)Lcom/google/common/collect/Multimap; |
|
.locals 2 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/Multimap", |
|
"<TK;TV;>;", |
|
"Lcom/google/common/base/Predicate", |
|
"<-", |
|
"Ljava/util/Map$Entry", |
|
"<TK;TV;>;>;)", |
|
"Lcom/google/common/collect/Multimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 1974 |
|
invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
|
|
|
.line 1975 |
|
instance-of v0, p0, Lcom/google/common/collect/SetMultimap; |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 1976 |
|
check-cast p0, Lcom/google/common/collect/SetMultimap; |
|
|
|
invoke-static {p0, p1}, Lcom/google/common/collect/Multimaps;->filterEntries(Lcom/google/common/collect/SetMultimap;Lcom/google/common/base/Predicate;)Lcom/google/common/collect/SetMultimap; |
|
|
|
move-result-object v0 |
|
|
|
.line 1978 |
|
:goto_0 |
|
return-object v0 |
|
|
|
:cond_0 |
|
instance-of v0, p0, Lcom/google/common/collect/FilteredMultimap; |
|
|
|
if-eqz v0, :cond_1 |
|
|
|
check-cast p0, Lcom/google/common/collect/FilteredMultimap; |
|
|
|
invoke-static {p0, p1}, Lcom/google/common/collect/Multimaps;->filterFiltered(Lcom/google/common/collect/FilteredMultimap;Lcom/google/common/base/Predicate;)Lcom/google/common/collect/Multimap; |
|
|
|
move-result-object v0 |
|
|
|
goto :goto_0 |
|
|
|
:cond_1 |
|
new-instance v1, Lcom/google/common/collect/FilteredEntryMultimap; |
|
|
|
invoke-static {p0}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Lcom/google/common/collect/Multimap; |
|
|
|
invoke-direct {v1, v0, p1}, Lcom/google/common/collect/FilteredEntryMultimap;-><init>(Lcom/google/common/collect/Multimap;Lcom/google/common/base/Predicate;)V |
|
|
|
move-object v0, v1 |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method public static filterEntries(Lcom/google/common/collect/SetMultimap;Lcom/google/common/base/Predicate;)Lcom/google/common/collect/SetMultimap; |
|
.locals 2 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/SetMultimap", |
|
"<TK;TV;>;", |
|
"Lcom/google/common/base/Predicate", |
|
"<-", |
|
"Ljava/util/Map$Entry", |
|
"<TK;TV;>;>;)", |
|
"Lcom/google/common/collect/SetMultimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 2013 |
|
invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
|
|
|
.line 2014 |
|
instance-of v0, p0, Lcom/google/common/collect/FilteredSetMultimap; |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
check-cast p0, Lcom/google/common/collect/FilteredSetMultimap; |
|
|
|
invoke-static {p0, p1}, Lcom/google/common/collect/Multimaps;->filterFiltered(Lcom/google/common/collect/FilteredSetMultimap;Lcom/google/common/base/Predicate;)Lcom/google/common/collect/SetMultimap; |
|
|
|
move-result-object v0 |
|
|
|
:goto_0 |
|
return-object v0 |
|
|
|
:cond_0 |
|
new-instance v1, Lcom/google/common/collect/FilteredEntrySetMultimap; |
|
|
|
invoke-static {p0}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Lcom/google/common/collect/SetMultimap; |
|
|
|
invoke-direct {v1, v0, p1}, Lcom/google/common/collect/FilteredEntrySetMultimap;-><init>(Lcom/google/common/collect/SetMultimap;Lcom/google/common/base/Predicate;)V |
|
|
|
move-object v0, v1 |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method private static filterFiltered(Lcom/google/common/collect/FilteredMultimap;Lcom/google/common/base/Predicate;)Lcom/google/common/collect/Multimap; |
|
.locals 3 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/FilteredMultimap", |
|
"<TK;TV;>;", |
|
"Lcom/google/common/base/Predicate", |
|
"<-", |
|
"Ljava/util/Map$Entry", |
|
"<TK;TV;>;>;)", |
|
"Lcom/google/common/collect/Multimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 2028 |
|
invoke-interface {p0}, Lcom/google/common/collect/FilteredMultimap;->entryPredicate()Lcom/google/common/base/Predicate; |
|
|
|
move-result-object v0 |
|
|
|
invoke-static {v0, p1}, Lcom/google/common/base/Predicates;->and(Lcom/google/common/base/Predicate;Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate; |
|
|
|
move-result-object v0 |
|
|
|
.line 2030 |
|
new-instance v1, Lcom/google/common/collect/FilteredEntryMultimap; |
|
|
|
invoke-interface {p0}, Lcom/google/common/collect/FilteredMultimap;->unfiltered()Lcom/google/common/collect/Multimap; |
|
|
|
move-result-object v2 |
|
|
|
invoke-direct {v1, v2, v0}, Lcom/google/common/collect/FilteredEntryMultimap;-><init>(Lcom/google/common/collect/Multimap;Lcom/google/common/base/Predicate;)V |
|
|
|
return-object v1 |
|
.end method |
|
|
|
.method private static filterFiltered(Lcom/google/common/collect/FilteredSetMultimap;Lcom/google/common/base/Predicate;)Lcom/google/common/collect/SetMultimap; |
|
.locals 3 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/FilteredSetMultimap", |
|
"<TK;TV;>;", |
|
"Lcom/google/common/base/Predicate", |
|
"<-", |
|
"Ljava/util/Map$Entry", |
|
"<TK;TV;>;>;)", |
|
"Lcom/google/common/collect/SetMultimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 2042 |
|
invoke-interface {p0}, Lcom/google/common/collect/FilteredSetMultimap;->entryPredicate()Lcom/google/common/base/Predicate; |
|
|
|
move-result-object v0 |
|
|
|
invoke-static {v0, p1}, Lcom/google/common/base/Predicates;->and(Lcom/google/common/base/Predicate;Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate; |
|
|
|
move-result-object v0 |
|
|
|
.line 2044 |
|
new-instance v1, Lcom/google/common/collect/FilteredEntrySetMultimap; |
|
|
|
invoke-interface {p0}, Lcom/google/common/collect/FilteredSetMultimap;->unfiltered()Lcom/google/common/collect/SetMultimap; |
|
|
|
move-result-object v2 |
|
|
|
invoke-direct {v1, v2, v0}, Lcom/google/common/collect/FilteredEntrySetMultimap;-><init>(Lcom/google/common/collect/SetMultimap;Lcom/google/common/base/Predicate;)V |
|
|
|
return-object v1 |
|
.end method |
|
|
|
.method public static filterKeys(Lcom/google/common/collect/ListMultimap;Lcom/google/common/base/Predicate;)Lcom/google/common/collect/ListMultimap; |
|
.locals 3 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/ListMultimap", |
|
"<TK;TV;>;", |
|
"Lcom/google/common/base/Predicate", |
|
"<-TK;>;)", |
|
"Lcom/google/common/collect/ListMultimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 1865 |
|
instance-of v0, p0, Lcom/google/common/collect/FilteredKeyListMultimap; |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 1866 |
|
check-cast p0, Lcom/google/common/collect/FilteredKeyListMultimap; |
|
|
|
.line 1867 |
|
new-instance v0, Lcom/google/common/collect/FilteredKeyListMultimap; |
|
|
|
invoke-virtual {p0}, Lcom/google/common/collect/FilteredKeyListMultimap;->unfiltered()Lcom/google/common/collect/ListMultimap; |
|
|
|
move-result-object v1 |
|
|
|
iget-object v2, p0, Lcom/google/common/collect/FilteredKeyListMultimap;->keyPredicate:Lcom/google/common/base/Predicate; |
|
|
|
invoke-static {v2, p1}, Lcom/google/common/base/Predicates;->and(Lcom/google/common/base/Predicate;Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate; |
|
|
|
move-result-object v2 |
|
|
|
invoke-direct {v0, v1, v2}, Lcom/google/common/collect/FilteredKeyListMultimap;-><init>(Lcom/google/common/collect/ListMultimap;Lcom/google/common/base/Predicate;)V |
|
|
|
.line 1870 |
|
:goto_0 |
|
return-object v0 |
|
|
|
:cond_0 |
|
new-instance v0, Lcom/google/common/collect/FilteredKeyListMultimap; |
|
|
|
invoke-direct {v0, p0, p1}, Lcom/google/common/collect/FilteredKeyListMultimap;-><init>(Lcom/google/common/collect/ListMultimap;Lcom/google/common/base/Predicate;)V |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method public static filterKeys(Lcom/google/common/collect/Multimap;Lcom/google/common/base/Predicate;)Lcom/google/common/collect/Multimap; |
|
.locals 3 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/Multimap", |
|
"<TK;TV;>;", |
|
"Lcom/google/common/base/Predicate", |
|
"<-TK;>;)", |
|
"Lcom/google/common/collect/Multimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 1773 |
|
instance-of v0, p0, Lcom/google/common/collect/SetMultimap; |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 1774 |
|
check-cast p0, Lcom/google/common/collect/SetMultimap; |
|
|
|
invoke-static {p0, p1}, Lcom/google/common/collect/Multimaps;->filterKeys(Lcom/google/common/collect/SetMultimap;Lcom/google/common/base/Predicate;)Lcom/google/common/collect/SetMultimap; |
|
|
|
move-result-object v0 |
|
|
|
.line 1785 |
|
:goto_0 |
|
return-object v0 |
|
|
|
.line 1775 |
|
:cond_0 |
|
instance-of v0, p0, Lcom/google/common/collect/ListMultimap; |
|
|
|
if-eqz v0, :cond_1 |
|
|
|
.line 1776 |
|
check-cast p0, Lcom/google/common/collect/ListMultimap; |
|
|
|
invoke-static {p0, p1}, Lcom/google/common/collect/Multimaps;->filterKeys(Lcom/google/common/collect/ListMultimap;Lcom/google/common/base/Predicate;)Lcom/google/common/collect/ListMultimap; |
|
|
|
move-result-object v0 |
|
|
|
goto :goto_0 |
|
|
|
.line 1777 |
|
:cond_1 |
|
instance-of v0, p0, Lcom/google/common/collect/FilteredKeyMultimap; |
|
|
|
if-eqz v0, :cond_2 |
|
|
|
.line 1778 |
|
check-cast p0, Lcom/google/common/collect/FilteredKeyMultimap; |
|
|
|
.line 1779 |
|
new-instance v0, Lcom/google/common/collect/FilteredKeyMultimap; |
|
|
|
iget-object v1, p0, Lcom/google/common/collect/FilteredKeyMultimap;->unfiltered:Lcom/google/common/collect/Multimap; |
|
|
|
iget-object v2, p0, Lcom/google/common/collect/FilteredKeyMultimap;->keyPredicate:Lcom/google/common/base/Predicate; |
|
|
|
invoke-static {v2, p1}, Lcom/google/common/base/Predicates;->and(Lcom/google/common/base/Predicate;Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate; |
|
|
|
move-result-object v2 |
|
|
|
invoke-direct {v0, v1, v2}, Lcom/google/common/collect/FilteredKeyMultimap;-><init>(Lcom/google/common/collect/Multimap;Lcom/google/common/base/Predicate;)V |
|
|
|
goto :goto_0 |
|
|
|
.line 1781 |
|
:cond_2 |
|
instance-of v0, p0, Lcom/google/common/collect/FilteredMultimap; |
|
|
|
if-eqz v0, :cond_3 |
|
|
|
.line 1782 |
|
check-cast p0, Lcom/google/common/collect/FilteredMultimap; |
|
|
|
.line 1783 |
|
invoke-static {p1}, Lcom/google/common/collect/Maps;->keyPredicateOnEntries(Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate; |
|
|
|
move-result-object v0 |
|
|
|
invoke-static {p0, v0}, Lcom/google/common/collect/Multimaps;->filterFiltered(Lcom/google/common/collect/FilteredMultimap;Lcom/google/common/base/Predicate;)Lcom/google/common/collect/Multimap; |
|
|
|
move-result-object v0 |
|
|
|
goto :goto_0 |
|
|
|
.line 1785 |
|
:cond_3 |
|
new-instance v0, Lcom/google/common/collect/FilteredKeyMultimap; |
|
|
|
invoke-direct {v0, p0, p1}, Lcom/google/common/collect/FilteredKeyMultimap;-><init>(Lcom/google/common/collect/Multimap;Lcom/google/common/base/Predicate;)V |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method public static filterKeys(Lcom/google/common/collect/SetMultimap;Lcom/google/common/base/Predicate;)Lcom/google/common/collect/SetMultimap; |
|
.locals 3 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/SetMultimap", |
|
"<TK;TV;>;", |
|
"Lcom/google/common/base/Predicate", |
|
"<-TK;>;)", |
|
"Lcom/google/common/collect/SetMultimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 1821 |
|
instance-of v0, p0, Lcom/google/common/collect/FilteredKeySetMultimap; |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 1822 |
|
check-cast p0, Lcom/google/common/collect/FilteredKeySetMultimap; |
|
|
|
.line 1823 |
|
new-instance v0, Lcom/google/common/collect/FilteredKeySetMultimap; |
|
|
|
invoke-virtual {p0}, Lcom/google/common/collect/FilteredKeySetMultimap;->unfiltered()Lcom/google/common/collect/SetMultimap; |
|
|
|
move-result-object v1 |
|
|
|
iget-object v2, p0, Lcom/google/common/collect/FilteredKeySetMultimap;->keyPredicate:Lcom/google/common/base/Predicate; |
|
|
|
invoke-static {v2, p1}, Lcom/google/common/base/Predicates;->and(Lcom/google/common/base/Predicate;Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate; |
|
|
|
move-result-object v2 |
|
|
|
invoke-direct {v0, v1, v2}, Lcom/google/common/collect/FilteredKeySetMultimap;-><init>(Lcom/google/common/collect/SetMultimap;Lcom/google/common/base/Predicate;)V |
|
|
|
.line 1829 |
|
:goto_0 |
|
return-object v0 |
|
|
|
.line 1825 |
|
:cond_0 |
|
instance-of v0, p0, Lcom/google/common/collect/FilteredSetMultimap; |
|
|
|
if-eqz v0, :cond_1 |
|
|
|
.line 1826 |
|
check-cast p0, Lcom/google/common/collect/FilteredSetMultimap; |
|
|
|
.line 1827 |
|
invoke-static {p1}, Lcom/google/common/collect/Maps;->keyPredicateOnEntries(Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate; |
|
|
|
move-result-object v0 |
|
|
|
invoke-static {p0, v0}, Lcom/google/common/collect/Multimaps;->filterFiltered(Lcom/google/common/collect/FilteredSetMultimap;Lcom/google/common/base/Predicate;)Lcom/google/common/collect/SetMultimap; |
|
|
|
move-result-object v0 |
|
|
|
goto :goto_0 |
|
|
|
.line 1829 |
|
:cond_1 |
|
new-instance v0, Lcom/google/common/collect/FilteredKeySetMultimap; |
|
|
|
invoke-direct {v0, p0, p1}, Lcom/google/common/collect/FilteredKeySetMultimap;-><init>(Lcom/google/common/collect/SetMultimap;Lcom/google/common/base/Predicate;)V |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method public static filterValues(Lcom/google/common/collect/Multimap;Lcom/google/common/base/Predicate;)Lcom/google/common/collect/Multimap; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/Multimap", |
|
"<TK;TV;>;", |
|
"Lcom/google/common/base/Predicate", |
|
"<-TV;>;)", |
|
"Lcom/google/common/collect/Multimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 1906 |
|
invoke-static {p1}, Lcom/google/common/collect/Maps;->valuePredicateOnEntries(Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate; |
|
|
|
move-result-object v0 |
|
|
|
invoke-static {p0, v0}, Lcom/google/common/collect/Multimaps;->filterEntries(Lcom/google/common/collect/Multimap;Lcom/google/common/base/Predicate;)Lcom/google/common/collect/Multimap; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public static filterValues(Lcom/google/common/collect/SetMultimap;Lcom/google/common/base/Predicate;)Lcom/google/common/collect/SetMultimap; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/SetMultimap", |
|
"<TK;TV;>;", |
|
"Lcom/google/common/base/Predicate", |
|
"<-TV;>;)", |
|
"Lcom/google/common/collect/SetMultimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 1941 |
|
invoke-static {p1}, Lcom/google/common/collect/Maps;->valuePredicateOnEntries(Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate; |
|
|
|
move-result-object v0 |
|
|
|
invoke-static {p0, v0}, Lcom/google/common/collect/Multimaps;->filterEntries(Lcom/google/common/collect/SetMultimap;Lcom/google/common/base/Predicate;)Lcom/google/common/collect/SetMultimap; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public static forMap(Ljava/util/Map;)Lcom/google/common/collect/SetMultimap; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Ljava/util/Map", |
|
"<TK;TV;>;)", |
|
"Lcom/google/common/collect/SetMultimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 923 |
|
new-instance v0, Lcom/google/common/collect/Multimaps$MapMultimap; |
|
|
|
invoke-direct {v0, p0}, Lcom/google/common/collect/Multimaps$MapMultimap;-><init>(Ljava/util/Map;)V |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public static index(Ljava/lang/Iterable;Lcom/google/common/base/Function;)Lcom/google/common/collect/ImmutableListMultimap; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Ljava/lang/Iterable", |
|
"<TV;>;", |
|
"Lcom/google/common/base/Function", |
|
"<-TV;TK;>;)", |
|
"Lcom/google/common/collect/ImmutableListMultimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 1455 |
|
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; |
|
|
|
move-result-object v0 |
|
|
|
invoke-static {v0, p1}, Lcom/google/common/collect/Multimaps;->index(Ljava/util/Iterator;Lcom/google/common/base/Function;)Lcom/google/common/collect/ImmutableListMultimap; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public static index(Ljava/util/Iterator;Lcom/google/common/base/Function;)Lcom/google/common/collect/ImmutableListMultimap; |
|
.locals 3 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Ljava/util/Iterator", |
|
"<TV;>;", |
|
"Lcom/google/common/base/Function", |
|
"<-TV;TK;>;)", |
|
"Lcom/google/common/collect/ImmutableListMultimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 1503 |
|
invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
|
|
|
.line 1504 |
|
invoke-static {}, Lcom/google/common/collect/ImmutableListMultimap;->builder()Lcom/google/common/collect/ImmutableListMultimap$Builder; |
|
|
|
move-result-object v0 |
|
|
|
.line 1506 |
|
:goto_0 |
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z |
|
|
|
move-result v1 |
|
|
|
if-eqz v1, :cond_0 |
|
|
|
.line 1507 |
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object; |
|
|
|
move-result-object v1 |
|
|
|
.line 1508 |
|
invoke-static {v1, p0}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
|
|
|
.line 1509 |
|
invoke-interface {p1, v1}, Lcom/google/common/base/Function;->apply(Ljava/lang/Object;)Ljava/lang/Object; |
|
|
|
move-result-object v2 |
|
|
|
invoke-virtual {v0, v2, v1}, Lcom/google/common/collect/ImmutableListMultimap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableListMultimap$Builder; |
|
|
|
goto :goto_0 |
|
|
|
.line 1511 |
|
:cond_0 |
|
invoke-virtual {v0}, Lcom/google/common/collect/ImmutableListMultimap$Builder;->build()Lcom/google/common/collect/ImmutableListMultimap; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public static invertFrom(Lcom/google/common/collect/Multimap;Lcom/google/common/collect/Multimap;)Lcom/google/common/collect/Multimap; |
|
.locals 3 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
"M::", |
|
"Lcom/google/common/collect/Multimap", |
|
"<TK;TV;>;>(", |
|
"Lcom/google/common/collect/Multimap", |
|
"<+TV;+TK;>;TM;)TM;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 409 |
|
invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
|
|
|
.line 410 |
|
invoke-interface {p0}, Lcom/google/common/collect/Multimap;->entries()Ljava/util/Collection; |
|
|
|
move-result-object v0 |
|
|
|
invoke-interface {v0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator; |
|
|
|
move-result-object v1 |
|
|
|
:goto_0 |
|
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Ljava/util/Map$Entry; |
|
|
|
.line 411 |
|
invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; |
|
|
|
move-result-object v2 |
|
|
|
invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
invoke-interface {p1, v2, v0}, Lcom/google/common/collect/Multimap;->put(Ljava/lang/Object;Ljava/lang/Object;)Z |
|
|
|
goto :goto_0 |
|
|
|
.line 413 |
|
:cond_0 |
|
return-object p1 |
|
.end method |
|
|
|
.method public static newListMultimap(Ljava/util/Map;Lcom/google/common/base/Supplier;)Lcom/google/common/collect/ListMultimap; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Ljava/util/Map", |
|
"<TK;", |
|
"Ljava/util/Collection", |
|
"<TV;>;>;", |
|
"Lcom/google/common/base/Supplier", |
|
"<+", |
|
"Ljava/util/List", |
|
"<TV;>;>;)", |
|
"Lcom/google/common/collect/ListMultimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 194 |
|
new-instance v0, Lcom/google/common/collect/Multimaps$CustomListMultimap; |
|
|
|
invoke-direct {v0, p0, p1}, Lcom/google/common/collect/Multimaps$CustomListMultimap;-><init>(Ljava/util/Map;Lcom/google/common/base/Supplier;)V |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public static newMultimap(Ljava/util/Map;Lcom/google/common/base/Supplier;)Lcom/google/common/collect/Multimap; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Ljava/util/Map", |
|
"<TK;", |
|
"Ljava/util/Collection", |
|
"<TV;>;>;", |
|
"Lcom/google/common/base/Supplier", |
|
"<+", |
|
"Ljava/util/Collection", |
|
"<TV;>;>;)", |
|
"Lcom/google/common/collect/Multimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 113 |
|
new-instance v0, Lcom/google/common/collect/Multimaps$CustomMultimap; |
|
|
|
invoke-direct {v0, p0, p1}, Lcom/google/common/collect/Multimaps$CustomMultimap;-><init>(Ljava/util/Map;Lcom/google/common/base/Supplier;)V |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public static newSetMultimap(Ljava/util/Map;Lcom/google/common/base/Supplier;)Lcom/google/common/collect/SetMultimap; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Ljava/util/Map", |
|
"<TK;", |
|
"Ljava/util/Collection", |
|
"<TV;>;>;", |
|
"Lcom/google/common/base/Supplier", |
|
"<+", |
|
"Ljava/util/Set", |
|
"<TV;>;>;)", |
|
"Lcom/google/common/collect/SetMultimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 272 |
|
new-instance v0, Lcom/google/common/collect/Multimaps$CustomSetMultimap; |
|
|
|
invoke-direct {v0, p0, p1}, Lcom/google/common/collect/Multimaps$CustomSetMultimap;-><init>(Ljava/util/Map;Lcom/google/common/base/Supplier;)V |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public static newSortedSetMultimap(Ljava/util/Map;Lcom/google/common/base/Supplier;)Lcom/google/common/collect/SortedSetMultimap; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Ljava/util/Map", |
|
"<TK;", |
|
"Ljava/util/Collection", |
|
"<TV;>;>;", |
|
"Lcom/google/common/base/Supplier", |
|
"<+", |
|
"Ljava/util/SortedSet", |
|
"<TV;>;>;)", |
|
"Lcom/google/common/collect/SortedSetMultimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 350 |
|
new-instance v0, Lcom/google/common/collect/Multimaps$CustomSortedSetMultimap; |
|
|
|
invoke-direct {v0, p0, p1}, Lcom/google/common/collect/Multimaps$CustomSortedSetMultimap;-><init>(Ljava/util/Map;Lcom/google/common/base/Supplier;)V |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public static synchronizedListMultimap(Lcom/google/common/collect/ListMultimap;)Lcom/google/common/collect/ListMultimap; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/ListMultimap", |
|
"<TK;TV;>;)", |
|
"Lcom/google/common/collect/ListMultimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 774 |
|
const/4 v0, 0x0 |
|
|
|
invoke-static {p0, v0}, Lcom/google/common/collect/Synchronized;->listMultimap(Lcom/google/common/collect/ListMultimap;Ljava/lang/Object;)Lcom/google/common/collect/ListMultimap; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public static synchronizedMultimap(Lcom/google/common/collect/Multimap;)Lcom/google/common/collect/Multimap; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/Multimap", |
|
"<TK;TV;>;)", |
|
"Lcom/google/common/collect/Multimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 451 |
|
const/4 v0, 0x0 |
|
|
|
invoke-static {p0, v0}, Lcom/google/common/collect/Synchronized;->multimap(Lcom/google/common/collect/Multimap;Ljava/lang/Object;)Lcom/google/common/collect/Multimap; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public static synchronizedSetMultimap(Lcom/google/common/collect/SetMultimap;)Lcom/google/common/collect/SetMultimap; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/SetMultimap", |
|
"<TK;TV;>;)", |
|
"Lcom/google/common/collect/SetMultimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 679 |
|
const/4 v0, 0x0 |
|
|
|
invoke-static {p0, v0}, Lcom/google/common/collect/Synchronized;->setMultimap(Lcom/google/common/collect/SetMultimap;Ljava/lang/Object;)Lcom/google/common/collect/SetMultimap; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public static synchronizedSortedSetMultimap(Lcom/google/common/collect/SortedSetMultimap;)Lcom/google/common/collect/SortedSetMultimap; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/SortedSetMultimap", |
|
"<TK;TV;>;)", |
|
"Lcom/google/common/collect/SortedSetMultimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 734 |
|
const/4 v0, 0x0 |
|
|
|
invoke-static {p0, v0}, Lcom/google/common/collect/Synchronized;->sortedSetMultimap(Lcom/google/common/collect/SortedSetMultimap;Ljava/lang/Object;)Lcom/google/common/collect/SortedSetMultimap; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public static transformEntries(Lcom/google/common/collect/ListMultimap;Lcom/google/common/collect/Maps$EntryTransformer;)Lcom/google/common/collect/ListMultimap; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V1:", |
|
"Ljava/lang/Object;", |
|
"V2:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/ListMultimap", |
|
"<TK;TV1;>;", |
|
"Lcom/google/common/collect/Maps$EntryTransformer", |
|
"<-TK;-TV1;TV2;>;)", |
|
"Lcom/google/common/collect/ListMultimap", |
|
"<TK;TV2;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 1380 |
|
new-instance v0, Lcom/google/common/collect/Multimaps$TransformedEntriesListMultimap; |
|
|
|
invoke-direct {v0, p0, p1}, Lcom/google/common/collect/Multimaps$TransformedEntriesListMultimap;-><init>(Lcom/google/common/collect/ListMultimap;Lcom/google/common/collect/Maps$EntryTransformer;)V |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public static transformEntries(Lcom/google/common/collect/Multimap;Lcom/google/common/collect/Maps$EntryTransformer;)Lcom/google/common/collect/Multimap; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V1:", |
|
"Ljava/lang/Object;", |
|
"V2:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/Multimap", |
|
"<TK;TV1;>;", |
|
"Lcom/google/common/collect/Maps$EntryTransformer", |
|
"<-TK;-TV1;TV2;>;)", |
|
"Lcom/google/common/collect/Multimap", |
|
"<TK;TV2;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 1172 |
|
new-instance v0, Lcom/google/common/collect/Multimaps$TransformedEntriesMultimap; |
|
|
|
invoke-direct {v0, p0, p1}, Lcom/google/common/collect/Multimaps$TransformedEntriesMultimap;-><init>(Lcom/google/common/collect/Multimap;Lcom/google/common/collect/Maps$EntryTransformer;)V |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public static transformValues(Lcom/google/common/collect/ListMultimap;Lcom/google/common/base/Function;)Lcom/google/common/collect/ListMultimap; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V1:", |
|
"Ljava/lang/Object;", |
|
"V2:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/ListMultimap", |
|
"<TK;TV1;>;", |
|
"Lcom/google/common/base/Function", |
|
"<-TV1;TV2;>;)", |
|
"Lcom/google/common/collect/ListMultimap", |
|
"<TK;TV2;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 1320 |
|
invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
|
|
|
.line 1321 |
|
invoke-static {p1}, Lcom/google/common/collect/Maps;->asEntryTransformer(Lcom/google/common/base/Function;)Lcom/google/common/collect/Maps$EntryTransformer; |
|
|
|
move-result-object v0 |
|
|
|
.line 1322 |
|
invoke-static {p0, v0}, Lcom/google/common/collect/Multimaps;->transformEntries(Lcom/google/common/collect/ListMultimap;Lcom/google/common/collect/Maps$EntryTransformer;)Lcom/google/common/collect/ListMultimap; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public static transformValues(Lcom/google/common/collect/Multimap;Lcom/google/common/base/Function;)Lcom/google/common/collect/Multimap; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V1:", |
|
"Ljava/lang/Object;", |
|
"V2:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/Multimap", |
|
"<TK;TV1;>;", |
|
"Lcom/google/common/base/Function", |
|
"<-TV1;TV2;>;)", |
|
"Lcom/google/common/collect/Multimap", |
|
"<TK;TV2;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 1109 |
|
invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
|
|
|
.line 1110 |
|
invoke-static {p1}, Lcom/google/common/collect/Maps;->asEntryTransformer(Lcom/google/common/base/Function;)Lcom/google/common/collect/Maps$EntryTransformer; |
|
|
|
move-result-object v0 |
|
|
|
.line 1111 |
|
invoke-static {p0, v0}, Lcom/google/common/collect/Multimaps;->transformEntries(Lcom/google/common/collect/Multimap;Lcom/google/common/collect/Maps$EntryTransformer;)Lcom/google/common/collect/Multimap; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method private static unmodifiableEntries(Ljava/util/Collection;)Ljava/util/Collection; |
|
.locals 2 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Ljava/util/Collection", |
|
"<", |
|
"Ljava/util/Map$Entry", |
|
"<TK;TV;>;>;)", |
|
"Ljava/util/Collection", |
|
"<", |
|
"Ljava/util/Map$Entry", |
|
"<TK;TV;>;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 846 |
|
instance-of v0, p0, Ljava/util/Set; |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 847 |
|
check-cast p0, Ljava/util/Set; |
|
|
|
invoke-static {p0}, Lcom/google/common/collect/Maps;->unmodifiableEntrySet(Ljava/util/Set;)Ljava/util/Set; |
|
|
|
move-result-object v0 |
|
|
|
.line 849 |
|
:goto_0 |
|
return-object v0 |
|
|
|
:cond_0 |
|
new-instance v0, Lcom/google/common/collect/Maps$UnmodifiableEntries; |
|
|
|
invoke-static {p0}, Ljava/util/Collections;->unmodifiableCollection(Ljava/util/Collection;)Ljava/util/Collection; |
|
|
|
move-result-object v1 |
|
|
|
invoke-direct {v0, v1}, Lcom/google/common/collect/Maps$UnmodifiableEntries;-><init>(Ljava/util/Collection;)V |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method public static unmodifiableListMultimap(Lcom/google/common/collect/ImmutableListMultimap;)Lcom/google/common/collect/ListMultimap; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/ImmutableListMultimap", |
|
"<TK;TV;>;)", |
|
"Lcom/google/common/collect/ListMultimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.annotation runtime Ljava/lang/Deprecated; |
|
.end annotation |
|
|
|
.prologue |
|
.line 812 |
|
invoke-static {p0}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Lcom/google/common/collect/ListMultimap; |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public static unmodifiableListMultimap(Lcom/google/common/collect/ListMultimap;)Lcom/google/common/collect/ListMultimap; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/ListMultimap", |
|
"<TK;TV;>;)", |
|
"Lcom/google/common/collect/ListMultimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 797 |
|
instance-of v0, p0, Lcom/google/common/collect/Multimaps$UnmodifiableListMultimap; |
|
|
|
if-nez v0, :cond_0 |
|
|
|
instance-of v0, p0, Lcom/google/common/collect/ImmutableListMultimap; |
|
|
|
if-eqz v0, :cond_1 |
|
|
|
.line 801 |
|
:cond_0 |
|
:goto_0 |
|
return-object p0 |
|
|
|
:cond_1 |
|
new-instance v0, Lcom/google/common/collect/Multimaps$UnmodifiableListMultimap; |
|
|
|
invoke-direct {v0, p0}, Lcom/google/common/collect/Multimaps$UnmodifiableListMultimap;-><init>(Lcom/google/common/collect/ListMultimap;)V |
|
|
|
move-object p0, v0 |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method public static unmodifiableMultimap(Lcom/google/common/collect/ImmutableMultimap;)Lcom/google/common/collect/Multimap; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/ImmutableMultimap", |
|
"<TK;TV;>;)", |
|
"Lcom/google/common/collect/Multimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.annotation runtime Ljava/lang/Deprecated; |
|
.end annotation |
|
|
|
.prologue |
|
.line 488 |
|
invoke-static {p0}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Lcom/google/common/collect/Multimap; |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public static unmodifiableMultimap(Lcom/google/common/collect/Multimap;)Lcom/google/common/collect/Multimap; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/Multimap", |
|
"<TK;TV;>;)", |
|
"Lcom/google/common/collect/Multimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 473 |
|
instance-of v0, p0, Lcom/google/common/collect/Multimaps$UnmodifiableMultimap; |
|
|
|
if-nez v0, :cond_0 |
|
|
|
instance-of v0, p0, Lcom/google/common/collect/ImmutableMultimap; |
|
|
|
if-eqz v0, :cond_1 |
|
|
|
.line 477 |
|
:cond_0 |
|
:goto_0 |
|
return-object p0 |
|
|
|
:cond_1 |
|
new-instance v0, Lcom/google/common/collect/Multimaps$UnmodifiableMultimap; |
|
|
|
invoke-direct {v0, p0}, Lcom/google/common/collect/Multimaps$UnmodifiableMultimap;-><init>(Lcom/google/common/collect/Multimap;)V |
|
|
|
move-object p0, v0 |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method public static unmodifiableSetMultimap(Lcom/google/common/collect/ImmutableSetMultimap;)Lcom/google/common/collect/SetMultimap; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/ImmutableSetMultimap", |
|
"<TK;TV;>;)", |
|
"Lcom/google/common/collect/SetMultimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.annotation runtime Ljava/lang/Deprecated; |
|
.end annotation |
|
|
|
.prologue |
|
.line 717 |
|
invoke-static {p0}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Lcom/google/common/collect/SetMultimap; |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public static unmodifiableSetMultimap(Lcom/google/common/collect/SetMultimap;)Lcom/google/common/collect/SetMultimap; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/SetMultimap", |
|
"<TK;TV;>;)", |
|
"Lcom/google/common/collect/SetMultimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 702 |
|
instance-of v0, p0, Lcom/google/common/collect/Multimaps$UnmodifiableSetMultimap; |
|
|
|
if-nez v0, :cond_0 |
|
|
|
instance-of v0, p0, Lcom/google/common/collect/ImmutableSetMultimap; |
|
|
|
if-eqz v0, :cond_1 |
|
|
|
.line 706 |
|
:cond_0 |
|
:goto_0 |
|
return-object p0 |
|
|
|
:cond_1 |
|
new-instance v0, Lcom/google/common/collect/Multimaps$UnmodifiableSetMultimap; |
|
|
|
invoke-direct {v0, p0}, Lcom/google/common/collect/Multimaps$UnmodifiableSetMultimap;-><init>(Lcom/google/common/collect/SetMultimap;)V |
|
|
|
move-object p0, v0 |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method public static unmodifiableSortedSetMultimap(Lcom/google/common/collect/SortedSetMultimap;)Lcom/google/common/collect/SortedSetMultimap; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Lcom/google/common/collect/SortedSetMultimap", |
|
"<TK;TV;>;)", |
|
"Lcom/google/common/collect/SortedSetMultimap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 757 |
|
instance-of v0, p0, Lcom/google/common/collect/Multimaps$UnmodifiableSortedSetMultimap; |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 760 |
|
:goto_0 |
|
return-object p0 |
|
|
|
:cond_0 |
|
new-instance v0, Lcom/google/common/collect/Multimaps$UnmodifiableSortedSetMultimap; |
|
|
|
invoke-direct {v0, p0}, Lcom/google/common/collect/Multimaps$UnmodifiableSortedSetMultimap;-><init>(Lcom/google/common/collect/SortedSetMultimap;)V |
|
|
|
move-object p0, v0 |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method private static unmodifiableValueCollection(Ljava/util/Collection;)Ljava/util/Collection; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<V:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Ljava/util/Collection", |
|
"<TV;>;)", |
|
"Ljava/util/Collection", |
|
"<TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 825 |
|
instance-of v0, p0, Ljava/util/SortedSet; |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 826 |
|
check-cast p0, Ljava/util/SortedSet; |
|
|
|
invoke-static {p0}, Ljava/util/Collections;->unmodifiableSortedSet(Ljava/util/SortedSet;)Ljava/util/SortedSet; |
|
|
|
move-result-object v0 |
|
|
|
.line 832 |
|
:goto_0 |
|
return-object v0 |
|
|
|
.line 827 |
|
:cond_0 |
|
instance-of v0, p0, Ljava/util/Set; |
|
|
|
if-eqz v0, :cond_1 |
|
|
|
.line 828 |
|
check-cast p0, Ljava/util/Set; |
|
|
|
invoke-static {p0}, Ljava/util/Collections;->unmodifiableSet(Ljava/util/Set;)Ljava/util/Set; |
|
|
|
move-result-object v0 |
|
|
|
goto :goto_0 |
|
|
|
.line 829 |
|
:cond_1 |
|
instance-of v0, p0, Ljava/util/List; |
|
|
|
if-eqz v0, :cond_2 |
|
|
|
.line 830 |
|
check-cast p0, Ljava/util/List; |
|
|
|
invoke-static {p0}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List; |
|
|
|
move-result-object v0 |
|
|
|
goto :goto_0 |
|
|
|
.line 832 |
|
:cond_2 |
|
invoke-static {p0}, Ljava/util/Collections;->unmodifiableCollection(Ljava/util/Collection;)Ljava/util/Collection; |
|
|
|
move-result-object v0 |
|
|
|
goto :goto_0 |
|
.end method
|
|
|