tmap/smali_classes3/com/google/common/graph/EndpointPairIterator$Directed.smali
2022-06-10 21:38:30 +09:00

127 lines
3.4 KiB
Smali

.class final Lcom/google/common/graph/EndpointPairIterator$Directed;
.super Lcom/google/common/graph/EndpointPairIterator;
.source "EndpointPairIterator.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/common/graph/EndpointPairIterator;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Directed"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<N:",
"Ljava/lang/Object;",
">",
"Lcom/google/common/graph/EndpointPairIterator<",
"TN;>;"
}
.end annotation
# direct methods
.method private constructor <init>(Lcom/google/common/graph/BaseGraph;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/common/graph/BaseGraph<",
"TN;>;)V"
}
.end annotation
const/4 v0, 0x0
.line 2
invoke-direct {p0, p1, v0}, Lcom/google/common/graph/EndpointPairIterator;-><init>(Lcom/google/common/graph/BaseGraph;Lcom/google/common/graph/EndpointPairIterator$1;)V
return-void
.end method
.method public synthetic constructor <init>(Lcom/google/common/graph/BaseGraph;Lcom/google/common/graph/EndpointPairIterator$1;)V
.locals 0
.line 1
invoke-direct {p0, p1}, Lcom/google/common/graph/EndpointPairIterator$Directed;-><init>(Lcom/google/common/graph/BaseGraph;)V
return-void
.end method
# virtual methods
.method public computeNext()Lcom/google/common/graph/EndpointPair;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/google/common/graph/EndpointPair<",
"TN;>;"
}
.end annotation
.annotation runtime Ljavax/annotation/CheckForNull;
.end annotation
.line 2
:cond_0
iget-object v0, p0, Lcom/google/common/graph/EndpointPairIterator;->successorIterator:Ljava/util/Iterator;
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_1
.line 3
iget-object v0, p0, Lcom/google/common/graph/EndpointPairIterator;->node:Ljava/lang/Object;
invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
iget-object v1, p0, Lcom/google/common/graph/EndpointPairIterator;->successorIterator:Ljava/util/Iterator;
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
invoke-static {v0, v1}, Lcom/google/common/graph/EndpointPair;->ordered(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/graph/EndpointPair;
move-result-object v0
return-object v0
.line 4
:cond_1
invoke-virtual {p0}, Lcom/google/common/graph/EndpointPairIterator;->advance()Z
move-result v0
if-nez v0, :cond_0
.line 5
invoke-virtual {p0}, Lcom/google/common/collect/AbstractIterator;->endOfData()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/google/common/graph/EndpointPair;
return-object v0
.end method
.method public bridge synthetic computeNext()Ljava/lang/Object;
.locals 1
.annotation runtime Ljavax/annotation/CheckForNull;
.end annotation
.line 1
invoke-virtual {p0}, Lcom/google/common/graph/EndpointPairIterator$Directed;->computeNext()Lcom/google/common/graph/EndpointPair;
move-result-object v0
return-object v0
.end method