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

90 lines
2.2 KiB
Smali

.class Lcom/google/common/collect/Iterables$8;
.super Lcom/google/common/collect/FluentIterable;
.source "Iterables.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/google/common/collect/Iterables;->consumingIterable(Ljava/lang/Iterable;)Ljava/lang/Iterable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/common/collect/FluentIterable<",
"TT;>;"
}
.end annotation
# instance fields
.field final synthetic val$iterable:Ljava/lang/Iterable;
# direct methods
.method constructor <init>(Ljava/lang/Iterable;)V
.locals 0
iput-object p1, p0, Lcom/google/common/collect/Iterables$8;->val$iterable:Ljava/lang/Iterable;
.line 1006
invoke-direct {p0}, Lcom/google/common/collect/FluentIterable;-><init>()V
return-void
.end method
# virtual methods
.method public iterator()Ljava/util/Iterator;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Iterator<",
"TT;>;"
}
.end annotation
iget-object v0, p0, Lcom/google/common/collect/Iterables$8;->val$iterable:Ljava/lang/Iterable;
.line 1009
instance-of v1, v0, Ljava/util/Queue;
if-eqz v1, :cond_0
.line 1010
new-instance v0, Lcom/google/common/collect/ConsumingQueueIterator;
iget-object p0, p0, Lcom/google/common/collect/Iterables$8;->val$iterable:Ljava/lang/Iterable;
check-cast p0, Ljava/util/Queue;
invoke-direct {v0, p0}, Lcom/google/common/collect/ConsumingQueueIterator;-><init>(Ljava/util/Queue;)V
goto :goto_0
.line 1011
:cond_0
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p0
invoke-static {p0}, Lcom/google/common/collect/Iterators;->consumingIterator(Ljava/util/Iterator;)Ljava/util/Iterator;
move-result-object v0
:goto_0
return-object v0
.end method
.method public toString()Ljava/lang/String;
.locals 0
const-string p0, "Iterables.consumingIterable(...)"
return-object p0
.end method