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

149 lines
4.4 KiB
Smali

.class public Lcom/google/common/graph/ImmutableGraph$Builder;
.super Ljava/lang/Object;
.source "ImmutableGraph.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/common/graph/ImmutableGraph;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Builder"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<N:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;"
}
.end annotation
# instance fields
.field private final mutableGraph:Lcom/google/common/graph/MutableGraph;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/common/graph/MutableGraph<",
"TN;>;"
}
.end annotation
.end field
# direct methods
.method constructor <init>(Lcom/google/common/graph/GraphBuilder;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/common/graph/GraphBuilder<",
"TN;>;)V"
}
.end annotation
.line 133
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 136
invoke-virtual {p1}, Lcom/google/common/graph/GraphBuilder;->copy()Lcom/google/common/graph/GraphBuilder;
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/GraphBuilder;->incidentEdgeOrder(Lcom/google/common/graph/ElementOrder;)Lcom/google/common/graph/GraphBuilder;
move-result-object p1
invoke-virtual {p1}, Lcom/google/common/graph/GraphBuilder;->build()Lcom/google/common/graph/MutableGraph;
move-result-object p1
iput-object p1, p0, Lcom/google/common/graph/ImmutableGraph$Builder;->mutableGraph:Lcom/google/common/graph/MutableGraph;
return-void
.end method
# virtual methods
.method public addNode(Ljava/lang/Object;)Lcom/google/common/graph/ImmutableGraph$Builder;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TN;)",
"Lcom/google/common/graph/ImmutableGraph$Builder<",
"TN;>;"
}
.end annotation
iget-object v0, p0, Lcom/google/common/graph/ImmutableGraph$Builder;->mutableGraph:Lcom/google/common/graph/MutableGraph;
.line 148
invoke-interface {v0, p1}, Lcom/google/common/graph/MutableGraph;->addNode(Ljava/lang/Object;)Z
return-object p0
.end method
.method public build()Lcom/google/common/graph/ImmutableGraph;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/google/common/graph/ImmutableGraph<",
"TN;>;"
}
.end annotation
iget-object p0, p0, Lcom/google/common/graph/ImmutableGraph$Builder;->mutableGraph:Lcom/google/common/graph/MutableGraph;
.line 198
invoke-static {p0}, Lcom/google/common/graph/ImmutableGraph;->copyOf(Lcom/google/common/graph/Graph;)Lcom/google/common/graph/ImmutableGraph;
move-result-object p0
return-object p0
.end method
.method public putEdge(Lcom/google/common/graph/EndpointPair;)Lcom/google/common/graph/ImmutableGraph$Builder;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/common/graph/EndpointPair<",
"TN;>;)",
"Lcom/google/common/graph/ImmutableGraph$Builder<",
"TN;>;"
}
.end annotation
iget-object v0, p0, Lcom/google/common/graph/ImmutableGraph$Builder;->mutableGraph:Lcom/google/common/graph/MutableGraph;
.line 190
invoke-interface {v0, p1}, Lcom/google/common/graph/MutableGraph;->putEdge(Lcom/google/common/graph/EndpointPair;)Z
return-object p0
.end method
.method public putEdge(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/graph/ImmutableGraph$Builder;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TN;TN;)",
"Lcom/google/common/graph/ImmutableGraph$Builder<",
"TN;>;"
}
.end annotation
iget-object v0, p0, Lcom/google/common/graph/ImmutableGraph$Builder;->mutableGraph:Lcom/google/common/graph/MutableGraph;
.line 167
invoke-interface {v0, p1, p2}, Lcom/google/common/graph/MutableGraph;->putEdge(Ljava/lang/Object;Ljava/lang/Object;)Z
return-object p0
.end method