.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 = 0x1 name = null .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Lcom/google/common/collect/FluentIterable<", "TT;>;" } .end annotation # instance fields .field public final synthetic val$iterable:Ljava/lang/Iterable; # direct methods .method public constructor (Ljava/lang/Iterable;)V .locals 0 .line 1 iput-object p1, p0, Lcom/google/common/collect/Iterables$8;->val$iterable:Ljava/lang/Iterable; invoke-direct {p0}, Lcom/google/common/collect/FluentIterable;->()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 .line 1 iget-object v0, p0, Lcom/google/common/collect/Iterables$8;->val$iterable:Ljava/lang/Iterable; instance-of v1, v0, Ljava/util/Queue; if-eqz v1, :cond_0 .line 2 new-instance v1, Lcom/google/common/collect/ConsumingQueueIterator; check-cast v0, Ljava/util/Queue; invoke-direct {v1, v0}, Lcom/google/common/collect/ConsumingQueueIterator;->(Ljava/util/Queue;)V goto :goto_0 .line 3 :cond_0 invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object v0 invoke-static {v0}, Lcom/google/common/collect/Iterators;->consumingIterator(Ljava/util/Iterator;)Ljava/util/Iterator; move-result-object v1 :goto_0 return-object v1 .end method .method public toString()Ljava/lang/String; .locals 1 const-string v0, "Iterables.consumingIterable(...)" return-object v0 .end method