181 lines
5.2 KiB
Smali
181 lines
5.2 KiB
Smali
.class public Lcom/badlogic/gdx/utils/Queue$QueueIterable;
|
|
.super Ljava/lang/Object;
|
|
.source "Queue.java"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Iterable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/badlogic/gdx/utils/Queue;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "QueueIterable"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Ljava/lang/Iterable<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final a:Lcom/badlogic/gdx/utils/Queue;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/badlogic/gdx/utils/Queue<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private final b:Z
|
|
|
|
.field private c:Lcom/badlogic/gdx/utils/Queue$QueueIterator;
|
|
|
|
.field private d:Lcom/badlogic/gdx/utils/Queue$QueueIterator;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/badlogic/gdx/utils/Queue;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/badlogic/gdx/utils/Queue<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 452
|
|
invoke-direct {p0, p1, v0}, Lcom/badlogic/gdx/utils/Queue$QueueIterable;-><init>(Lcom/badlogic/gdx/utils/Queue;Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lcom/badlogic/gdx/utils/Queue;Z)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/badlogic/gdx/utils/Queue<",
|
|
"TT;>;Z)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 455
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 456
|
|
iput-object p1, p0, Lcom/badlogic/gdx/utils/Queue$QueueIterable;->a:Lcom/badlogic/gdx/utils/Queue;
|
|
|
|
.line 457
|
|
iput-boolean p2, p0, Lcom/badlogic/gdx/utils/Queue$QueueIterable;->b:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public iterator()Ljava/util/Iterator;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/Iterator<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 463
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/Queue$QueueIterable;->c:Lcom/badlogic/gdx/utils/Queue$QueueIterator;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 464
|
|
new-instance v0, Lcom/badlogic/gdx/utils/Queue$QueueIterator;
|
|
|
|
iget-object v1, p0, Lcom/badlogic/gdx/utils/Queue$QueueIterable;->a:Lcom/badlogic/gdx/utils/Queue;
|
|
|
|
iget-boolean v2, p0, Lcom/badlogic/gdx/utils/Queue$QueueIterable;->b:Z
|
|
|
|
invoke-direct {v0, v1, v2}, Lcom/badlogic/gdx/utils/Queue$QueueIterator;-><init>(Lcom/badlogic/gdx/utils/Queue;Z)V
|
|
|
|
iput-object v0, p0, Lcom/badlogic/gdx/utils/Queue$QueueIterable;->c:Lcom/badlogic/gdx/utils/Queue$QueueIterator;
|
|
|
|
.line 465
|
|
new-instance v0, Lcom/badlogic/gdx/utils/Queue$QueueIterator;
|
|
|
|
iget-object v1, p0, Lcom/badlogic/gdx/utils/Queue$QueueIterable;->a:Lcom/badlogic/gdx/utils/Queue;
|
|
|
|
iget-boolean v2, p0, Lcom/badlogic/gdx/utils/Queue$QueueIterable;->b:Z
|
|
|
|
invoke-direct {v0, v1, v2}, Lcom/badlogic/gdx/utils/Queue$QueueIterator;-><init>(Lcom/badlogic/gdx/utils/Queue;Z)V
|
|
|
|
iput-object v0, p0, Lcom/badlogic/gdx/utils/Queue$QueueIterable;->d:Lcom/badlogic/gdx/utils/Queue$QueueIterator;
|
|
|
|
.line 469
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/Queue$QueueIterable;->c:Lcom/badlogic/gdx/utils/Queue$QueueIterator;
|
|
|
|
iget-boolean v0, v0, Lcom/badlogic/gdx/utils/Queue$QueueIterator;->b:Z
|
|
|
|
const/4 v1, 0x1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 470
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/Queue$QueueIterable;->c:Lcom/badlogic/gdx/utils/Queue$QueueIterator;
|
|
|
|
iput v2, v0, Lcom/badlogic/gdx/utils/Queue$QueueIterator;->a:I
|
|
|
|
.line 471
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/Queue$QueueIterable;->c:Lcom/badlogic/gdx/utils/Queue$QueueIterator;
|
|
|
|
iput-boolean v1, v0, Lcom/badlogic/gdx/utils/Queue$QueueIterator;->b:Z
|
|
|
|
.line 472
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/Queue$QueueIterable;->d:Lcom/badlogic/gdx/utils/Queue$QueueIterator;
|
|
|
|
iput-boolean v2, v0, Lcom/badlogic/gdx/utils/Queue$QueueIterator;->b:Z
|
|
|
|
.line 473
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/Queue$QueueIterable;->c:Lcom/badlogic/gdx/utils/Queue$QueueIterator;
|
|
|
|
return-object v0
|
|
|
|
.line 475
|
|
:cond_1
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/Queue$QueueIterable;->d:Lcom/badlogic/gdx/utils/Queue$QueueIterator;
|
|
|
|
iput v2, v0, Lcom/badlogic/gdx/utils/Queue$QueueIterator;->a:I
|
|
|
|
.line 476
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/Queue$QueueIterable;->d:Lcom/badlogic/gdx/utils/Queue$QueueIterator;
|
|
|
|
iput-boolean v1, v0, Lcom/badlogic/gdx/utils/Queue$QueueIterator;->b:Z
|
|
|
|
.line 477
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/Queue$QueueIterable;->c:Lcom/badlogic/gdx/utils/Queue$QueueIterator;
|
|
|
|
iput-boolean v2, v0, Lcom/badlogic/gdx/utils/Queue$QueueIterator;->b:Z
|
|
|
|
.line 478
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/Queue$QueueIterable;->d:Lcom/badlogic/gdx/utils/Queue$QueueIterator;
|
|
|
|
return-object v0
|
|
.end method
|