Rabbit-R1/android (non root)/smali/smali_classes3/com/google/common/graph/ImmutableValueGraph$Builder.smali
2024-05-21 17:08:36 -04:00

151 lines
4.8 KiB
Smali

.class public Lcom/google/common/graph/ImmutableValueGraph$Builder;
.super Ljava/lang/Object;
.source "ImmutableValueGraph.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/common/graph/ImmutableValueGraph;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Builder"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<N:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;"
}
.end annotation
# instance fields
.field private final mutableValueGraph:Lcom/google/common/graph/MutableValueGraph;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/common/graph/MutableValueGraph<",
"TN;TV;>;"
}
.end annotation
.end field
# direct methods
.method constructor <init>(Lcom/google/common/graph/ValueGraphBuilder;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/common/graph/ValueGraphBuilder<",
"TN;TV;>;)V"
}
.end annotation
.line 130
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 134
invoke-virtual {p1}, Lcom/google/common/graph/ValueGraphBuilder;->copy()Lcom/google/common/graph/ValueGraphBuilder;
move-result-object p1
invoke-static {}, Lcom/google/common/graph/ElementOrder;->stable()Lcom/google/common/graph/ElementOrder;
move-result-object v0
invoke-virtual {p1, v0}, Lcom/google/common/graph/ValueGraphBuilder;->incidentEdgeOrder(Lcom/google/common/graph/ElementOrder;)Lcom/google/common/graph/ValueGraphBuilder;
move-result-object p1
invoke-virtual {p1}, Lcom/google/common/graph/ValueGraphBuilder;->build()Lcom/google/common/graph/MutableValueGraph;
move-result-object p1
iput-object p1, p0, Lcom/google/common/graph/ImmutableValueGraph$Builder;->mutableValueGraph:Lcom/google/common/graph/MutableValueGraph;
return-void
.end method
# virtual methods
.method public addNode(Ljava/lang/Object;)Lcom/google/common/graph/ImmutableValueGraph$Builder;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TN;)",
"Lcom/google/common/graph/ImmutableValueGraph$Builder<",
"TN;TV;>;"
}
.end annotation
iget-object v0, p0, Lcom/google/common/graph/ImmutableValueGraph$Builder;->mutableValueGraph:Lcom/google/common/graph/MutableValueGraph;
.line 146
invoke-interface {v0, p1}, Lcom/google/common/graph/MutableValueGraph;->addNode(Ljava/lang/Object;)Z
return-object p0
.end method
.method public build()Lcom/google/common/graph/ImmutableValueGraph;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/google/common/graph/ImmutableValueGraph<",
"TN;TV;>;"
}
.end annotation
iget-object p0, p0, Lcom/google/common/graph/ImmutableValueGraph$Builder;->mutableValueGraph:Lcom/google/common/graph/MutableValueGraph;
.line 202
invoke-static {p0}, Lcom/google/common/graph/ImmutableValueGraph;->copyOf(Lcom/google/common/graph/ValueGraph;)Lcom/google/common/graph/ImmutableValueGraph;
move-result-object p0
return-object p0
.end method
.method public putEdgeValue(Lcom/google/common/graph/EndpointPair;Ljava/lang/Object;)Lcom/google/common/graph/ImmutableValueGraph$Builder;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/common/graph/EndpointPair<",
"TN;>;TV;)",
"Lcom/google/common/graph/ImmutableValueGraph$Builder<",
"TN;TV;>;"
}
.end annotation
iget-object v0, p0, Lcom/google/common/graph/ImmutableValueGraph$Builder;->mutableValueGraph:Lcom/google/common/graph/MutableValueGraph;
.line 193
invoke-interface {v0, p1, p2}, Lcom/google/common/graph/MutableValueGraph;->putEdgeValue(Lcom/google/common/graph/EndpointPair;Ljava/lang/Object;)Ljava/lang/Object;
return-object p0
.end method
.method public putEdgeValue(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/graph/ImmutableValueGraph$Builder;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TN;TN;TV;)",
"Lcom/google/common/graph/ImmutableValueGraph$Builder<",
"TN;TV;>;"
}
.end annotation
iget-object v0, p0, Lcom/google/common/graph/ImmutableValueGraph$Builder;->mutableValueGraph:Lcom/google/common/graph/MutableValueGraph;
.line 168
invoke-interface {v0, p1, p2, p3}, Lcom/google/common/graph/MutableValueGraph;->putEdgeValue(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return-object p0
.end method