今奥全景相机
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.

178 lines
4.6 KiB

.class Lcom/google/common/collect/Constraints$ConstrainedSet;
.super Lcom/google/common/collect/ForwardingSet;
.source "Constraints.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/common/collect/Constraints;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = "ConstrainedSet"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<E:",
"Ljava/lang/Object;",
">",
"Lcom/google/common/collect/ForwardingSet",
"<TE;>;"
}
.end annotation
# instance fields
.field private final constraint:Lcom/google/common/collect/Constraint;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/common/collect/Constraint",
"<-TE;>;"
}
.end annotation
.end field
.field private final delegate:Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set",
"<TE;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/util/Set;Lcom/google/common/collect/Constraint;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Set",
"<TE;>;",
"Lcom/google/common/collect/Constraint",
"<-TE;>;)V"
}
.end annotation
.prologue
.line 101
invoke-direct {p0}, Lcom/google/common/collect/ForwardingSet;-><init>()V
.line 102
invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/Set;
iput-object v0, p0, Lcom/google/common/collect/Constraints$ConstrainedSet;->delegate:Ljava/util/Set;
.line 103
invoke-static {p2}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/google/common/collect/Constraint;
iput-object v0, p0, Lcom/google/common/collect/Constraints$ConstrainedSet;->constraint:Lcom/google/common/collect/Constraint;
.line 104
return-void
.end method
# virtual methods
.method public add(Ljava/lang/Object;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TE;)Z"
}
.end annotation
.prologue
.line 109
iget-object v0, p0, Lcom/google/common/collect/Constraints$ConstrainedSet;->constraint:Lcom/google/common/collect/Constraint;
invoke-interface {v0, p1}, Lcom/google/common/collect/Constraint;->checkElement(Ljava/lang/Object;)Ljava/lang/Object;
.line 110
iget-object v0, p0, Lcom/google/common/collect/Constraints$ConstrainedSet;->delegate:Ljava/util/Set;
invoke-interface {v0, p1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
move-result v0
return v0
.end method
.method public addAll(Ljava/util/Collection;)Z
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection",
"<+TE;>;)Z"
}
.end annotation
.prologue
.line 113
iget-object v0, p0, Lcom/google/common/collect/Constraints$ConstrainedSet;->delegate:Ljava/util/Set;
iget-object v1, p0, Lcom/google/common/collect/Constraints$ConstrainedSet;->constraint:Lcom/google/common/collect/Constraint;
invoke-static {p1, v1}, Lcom/google/common/collect/Constraints;->access$000(Ljava/util/Collection;Lcom/google/common/collect/Constraint;)Ljava/util/Collection;
move-result-object v1
invoke-interface {v0, v1}, Ljava/util/Set;->addAll(Ljava/util/Collection;)Z
move-result v0
return v0
.end method
.method protected bridge synthetic delegate()Ljava/lang/Object;
.locals 1
.prologue
.line 97
invoke-virtual {p0}, Lcom/google/common/collect/Constraints$ConstrainedSet;->delegate()Ljava/util/Set;
move-result-object v0
return-object v0
.end method
.method protected bridge synthetic delegate()Ljava/util/Collection;
.locals 1
.prologue
.line 97
invoke-virtual {p0}, Lcom/google/common/collect/Constraints$ConstrainedSet;->delegate()Ljava/util/Set;
move-result-object v0
return-object v0
.end method
.method protected delegate()Ljava/util/Set;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Set",
"<TE;>;"
}
.end annotation
.prologue
.line 106
iget-object v0, p0, Lcom/google/common/collect/Constraints$ConstrainedSet;->delegate:Ljava/util/Set;
return-object v0
.end method