.class Lcom/google/common/collect/Multisets$UnmodifiableMultiset; .super Lcom/google/common/collect/ForwardingMultiset; .source "Multisets.java" # interfaces .implements Ljava/io/Serializable; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/google/common/collect/Multisets; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x8 name = "UnmodifiableMultiset" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Lcom/google/common/collect/ForwardingMultiset", ";", "Ljava/io/Serializable;" } .end annotation # static fields .field private static final serialVersionUID:J # instance fields .field final delegate:Lcom/google/common/collect/Multiset; .annotation system Ldalvik/annotation/Signature; value = { "Lcom/google/common/collect/Multiset", "<+TE;>;" } .end annotation .end field .field transient elementSet:Ljava/util/Set; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/Set", ";" } .end annotation .end field .field transient entrySet:Ljava/util/Set; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/Set", "<", "Lcom/google/common/collect/Multiset$Entry", ";>;" } .end annotation .end field # direct methods .method constructor (Lcom/google/common/collect/Multiset;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/common/collect/Multiset", "<+TE;>;)V" } .end annotation .prologue .line 99 invoke-direct {p0}, Lcom/google/common/collect/ForwardingMultiset;->()V .line 100 iput-object p1, p0, Lcom/google/common/collect/Multisets$UnmodifiableMultiset;->delegate:Lcom/google/common/collect/Multiset; .line 101 return-void .end method # virtual methods .method public add(Ljava/lang/Object;I)I .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TE;I)I" } .end annotation .prologue .line 144 new-instance v0, Ljava/lang/UnsupportedOperationException; invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;->()V throw v0 .end method .method public add(Ljava/lang/Object;)Z .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TE;)Z" } .end annotation .prologue .line 140 new-instance v0, Ljava/lang/UnsupportedOperationException; invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;->()V throw v0 .end method .method public addAll(Ljava/util/Collection;)Z .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection", "<+TE;>;)Z" } .end annotation .prologue .line 148 new-instance v0, Ljava/lang/UnsupportedOperationException; invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;->()V throw v0 .end method .method public clear()V .locals 1 .prologue .line 168 new-instance v0, Ljava/lang/UnsupportedOperationException; invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;->()V throw v0 .end method .method createElementSet()Ljava/util/Set; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Set", ";" } .end annotation .prologue .line 112 iget-object v0, p0, Lcom/google/common/collect/Multisets$UnmodifiableMultiset;->delegate:Lcom/google/common/collect/Multiset; invoke-interface {v0}, Lcom/google/common/collect/Multiset;->elementSet()Ljava/util/Set; move-result-object v0 invoke-static {v0}, Ljava/util/Collections;->unmodifiableSet(Ljava/util/Set;)Ljava/util/Set; move-result-object v0 return-object v0 .end method .method protected delegate()Lcom/google/common/collect/Multiset; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Lcom/google/common/collect/Multiset", ";" } .end annotation .prologue .line 106 iget-object v0, p0, Lcom/google/common/collect/Multisets$UnmodifiableMultiset;->delegate:Lcom/google/common/collect/Multiset; return-object v0 .end method .method protected bridge synthetic delegate()Ljava/lang/Object; .locals 1 .prologue .line 95 invoke-virtual {p0}, Lcom/google/common/collect/Multisets$UnmodifiableMultiset;->delegate()Lcom/google/common/collect/Multiset; move-result-object v0 return-object v0 .end method .method protected bridge synthetic delegate()Ljava/util/Collection; .locals 1 .prologue .line 95 invoke-virtual {p0}, Lcom/google/common/collect/Multisets$UnmodifiableMultiset;->delegate()Lcom/google/common/collect/Multiset; move-result-object v0 return-object v0 .end method .method public elementSet()Ljava/util/Set; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Set", ";" } .end annotation .prologue .line 117 iget-object v0, p0, Lcom/google/common/collect/Multisets$UnmodifiableMultiset;->elementSet:Ljava/util/Set; .line 118 if-nez v0, :cond_0 invoke-virtual {p0}, Lcom/google/common/collect/Multisets$UnmodifiableMultiset;->createElementSet()Ljava/util/Set; move-result-object v0 iput-object v0, p0, Lcom/google/common/collect/Multisets$UnmodifiableMultiset;->elementSet:Ljava/util/Set; :cond_0 return-object v0 .end method .method public entrySet()Ljava/util/Set; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Set", "<", "Lcom/google/common/collect/Multiset$Entry", ";>;" } .end annotation .prologue .line 125 iget-object v0, p0, Lcom/google/common/collect/Multisets$UnmodifiableMultiset;->entrySet:Ljava/util/Set; .line 126 if-nez v0, :cond_0 iget-object v0, p0, Lcom/google/common/collect/Multisets$UnmodifiableMultiset;->delegate:Lcom/google/common/collect/Multiset; invoke-interface {v0}, Lcom/google/common/collect/Multiset;->entrySet()Ljava/util/Set; move-result-object v0 invoke-static {v0}, Ljava/util/Collections;->unmodifiableSet(Ljava/util/Set;)Ljava/util/Set; move-result-object v0 iput-object v0, p0, Lcom/google/common/collect/Multisets$UnmodifiableMultiset;->entrySet:Ljava/util/Set; :cond_0 return-object v0 .end method .method public iterator()Ljava/util/Iterator; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Iterator", ";" } .end annotation .prologue .line 136 iget-object v0, p0, Lcom/google/common/collect/Multisets$UnmodifiableMultiset;->delegate:Lcom/google/common/collect/Multiset; invoke-interface {v0}, Lcom/google/common/collect/Multiset;->iterator()Ljava/util/Iterator; move-result-object v0 invoke-static {v0}, Lcom/google/common/collect/Iterators;->unmodifiableIterator(Ljava/util/Iterator;)Lcom/google/common/collect/UnmodifiableIterator; move-result-object v0 return-object v0 .end method .method public remove(Ljava/lang/Object;I)I .locals 1 .prologue .line 156 new-instance v0, Ljava/lang/UnsupportedOperationException; invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;->()V throw v0 .end method .method public remove(Ljava/lang/Object;)Z .locals 1 .prologue .line 152 new-instance v0, Ljava/lang/UnsupportedOperationException; invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;->()V throw v0 .end method .method public removeAll(Ljava/util/Collection;)Z .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection", "<*>;)Z" } .end annotation .prologue .line 160 new-instance v0, Ljava/lang/UnsupportedOperationException; invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;->()V throw v0 .end method .method public retainAll(Ljava/util/Collection;)Z .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection", "<*>;)Z" } .end annotation .prologue .line 164 new-instance v0, Ljava/lang/UnsupportedOperationException; invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;->()V throw v0 .end method .method public setCount(Ljava/lang/Object;I)I .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TE;I)I" } .end annotation .prologue .line 172 new-instance v0, Ljava/lang/UnsupportedOperationException; invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;->()V throw v0 .end method .method public setCount(Ljava/lang/Object;II)Z .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TE;II)Z" } .end annotation .prologue .line 176 new-instance v0, Ljava/lang/UnsupportedOperationException; invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;->()V throw v0 .end method