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.
167 lines
4.5 KiB
167 lines
4.5 KiB
2 years ago
|
.class Lcom/google/common/collect/Constraints$ConstrainedCollection;
|
||
|
.super Lcom/google/common/collect/ForwardingCollection;
|
||
|
.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 = "ConstrainedCollection"
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<E:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">",
|
||
|
"Lcom/google/common/collect/ForwardingCollection",
|
||
|
"<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/Collection;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Ljava/util/Collection",
|
||
|
"<TE;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Ljava/util/Collection;Lcom/google/common/collect/Constraint;)V
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/util/Collection",
|
||
|
"<TE;>;",
|
||
|
"Lcom/google/common/collect/Constraint",
|
||
|
"<-TE;>;)V"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 63
|
||
|
invoke-direct {p0}, Lcom/google/common/collect/ForwardingCollection;-><init>()V
|
||
|
|
||
|
.line 64
|
||
|
invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/util/Collection;
|
||
|
|
||
|
iput-object v0, p0, Lcom/google/common/collect/Constraints$ConstrainedCollection;->delegate:Ljava/util/Collection;
|
||
|
|
||
|
.line 65
|
||
|
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$ConstrainedCollection;->constraint:Lcom/google/common/collect/Constraint;
|
||
|
|
||
|
.line 66
|
||
|
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 71
|
||
|
iget-object v0, p0, Lcom/google/common/collect/Constraints$ConstrainedCollection;->constraint:Lcom/google/common/collect/Constraint;
|
||
|
|
||
|
invoke-interface {v0, p1}, Lcom/google/common/collect/Constraint;->checkElement(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
.line 72
|
||
|
iget-object v0, p0, Lcom/google/common/collect/Constraints$ConstrainedCollection;->delegate:Ljava/util/Collection;
|
||
|
|
||
|
invoke-interface {v0, p1}, Ljava/util/Collection;->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 75
|
||
|
iget-object v0, p0, Lcom/google/common/collect/Constraints$ConstrainedCollection;->delegate:Ljava/util/Collection;
|
||
|
|
||
|
iget-object v1, p0, Lcom/google/common/collect/Constraints$ConstrainedCollection;->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/Collection;->addAll(Ljava/util/Collection;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method protected bridge synthetic delegate()Ljava/lang/Object;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 58
|
||
|
invoke-virtual {p0}, Lcom/google/common/collect/Constraints$ConstrainedCollection;->delegate()Ljava/util/Collection;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method protected delegate()Ljava/util/Collection;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"()",
|
||
|
"Ljava/util/Collection",
|
||
|
"<TE;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 68
|
||
|
iget-object v0, p0, Lcom/google/common/collect/Constraints$ConstrainedCollection;->delegate:Ljava/util/Collection;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|