DropWhileSequence$iterator$1.smali
9.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
.class public final Lkotlin/sequences/DropWhileSequence$iterator$1;
.super Ljava/lang/Object;
.source "Sequences.kt"
# interfaces
.implements Ljava/util/Iterator;
.implements Lkotlin/jvm/internal/markers/KMappedMarker;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lkotlin/sequences/DropWhileSequence;->iterator()Ljava/util/Iterator;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/Iterator<",
"TT;>;",
"Lkotlin/jvm/internal/markers/KMappedMarker;"
}
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000!\n\u0000\n\u0002\u0010(\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u000e\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\u0008\u0002*\u0001\u0000\u0008\n\u0018\u00002\u0008\u0012\u0004\u0012\u00028\u00000\u0001J\u0008\u0010\u0011\u001a\u00020\u0012H\u0002J\t\u0010\u0013\u001a\u00020\u0014H\u0096\u0002J\u000e\u0010\u0015\u001a\u00028\u0000H\u0096\u0002\u00a2\u0006\u0002\u0010\rR\u001a\u0010\u0002\u001a\u00020\u0003X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008\u0004\u0010\u0005\"\u0004\u0008\u0006\u0010\u0007R\u0017\u0010\u0008\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u0001\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\t\u0010\nR\u001e\u0010\u000b\u001a\u0004\u0018\u00018\u0000X\u0086\u000e\u00a2\u0006\u0010\n\u0002\u0010\u0010\u001a\u0004\u0008\u000c\u0010\r\"\u0004\u0008\u000e\u0010\u000f\u00a8\u0006\u0016"
}
d2 = {
"kotlin/sequences/DropWhileSequence$iterator$1",
"",
"dropState",
"",
"getDropState",
"()I",
"setDropState",
"(I)V",
"iterator",
"getIterator",
"()Ljava/util/Iterator;",
"nextItem",
"getNextItem",
"()Ljava/lang/Object;",
"setNextItem",
"(Ljava/lang/Object;)V",
"Ljava/lang/Object;",
"drop",
"",
"hasNext",
"",
"next",
"kotlin-stdlib"
}
k = 0x1
mv = {
0x1,
0x1,
0xf
}
.end annotation
# instance fields
.field private dropState:I
.field private final iterator:Ljava/util/Iterator;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Iterator<",
"TT;>;"
}
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field private nextItem:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.end field
.field final synthetic this$0:Lkotlin/sequences/DropWhileSequence;
# direct methods
.method constructor <init>(Lkotlin/sequences/DropWhileSequence;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
.line 476
iput-object p1, p0, Lkotlin/sequences/DropWhileSequence$iterator$1;->this$0:Lkotlin/sequences/DropWhileSequence;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 477
invoke-static {p1}, Lkotlin/sequences/DropWhileSequence;->access$getSequence$p(Lkotlin/sequences/DropWhileSequence;)Lkotlin/sequences/Sequence;
move-result-object p1
invoke-interface {p1}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
move-result-object p1
iput-object p1, p0, Lkotlin/sequences/DropWhileSequence$iterator$1;->iterator:Ljava/util/Iterator;
const/4 p1, -0x1
.line 478
iput p1, p0, Lkotlin/sequences/DropWhileSequence$iterator$1;->dropState:I
return-void
.end method
.method private final drop()V
.locals 2
.line 482
:cond_0
iget-object v0, p0, Lkotlin/sequences/DropWhileSequence$iterator$1;->iterator:Ljava/util/Iterator;
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_1
.line 483
iget-object v0, p0, Lkotlin/sequences/DropWhileSequence$iterator$1;->iterator:Ljava/util/Iterator;
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
.line 484
iget-object v1, p0, Lkotlin/sequences/DropWhileSequence$iterator$1;->this$0:Lkotlin/sequences/DropWhileSequence;
invoke-static {v1}, Lkotlin/sequences/DropWhileSequence;->access$getPredicate$p(Lkotlin/sequences/DropWhileSequence;)Lkotlin/jvm/functions/Function1;
move-result-object v1
invoke-interface {v1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/Boolean;
invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z
move-result v1
if-nez v1, :cond_0
.line 485
iput-object v0, p0, Lkotlin/sequences/DropWhileSequence$iterator$1;->nextItem:Ljava/lang/Object;
const/4 v0, 0x1
.line 486
iput v0, p0, Lkotlin/sequences/DropWhileSequence$iterator$1;->dropState:I
return-void
:cond_1
const/4 v0, 0x0
.line 490
iput v0, p0, Lkotlin/sequences/DropWhileSequence$iterator$1;->dropState:I
return-void
.end method
# virtual methods
.method public final getDropState()I
.locals 1
.line 478
iget v0, p0, Lkotlin/sequences/DropWhileSequence$iterator$1;->dropState:I
return v0
.end method
.method public final getIterator()Ljava/util/Iterator;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Iterator<",
"TT;>;"
}
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 477
iget-object v0, p0, Lkotlin/sequences/DropWhileSequence$iterator$1;->iterator:Ljava/util/Iterator;
return-object v0
.end method
.method public final getNextItem()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.line 479
iget-object v0, p0, Lkotlin/sequences/DropWhileSequence$iterator$1;->nextItem:Ljava/lang/Object;
return-object v0
.end method
.method public hasNext()Z
.locals 2
.line 508
iget v0, p0, Lkotlin/sequences/DropWhileSequence$iterator$1;->dropState:I
const/4 v1, -0x1
if-ne v0, v1, :cond_0
.line 509
invoke-direct {p0}, Lkotlin/sequences/DropWhileSequence$iterator$1;->drop()V
.line 510
:cond_0
iget v0, p0, Lkotlin/sequences/DropWhileSequence$iterator$1;->dropState:I
const/4 v1, 0x1
if-eq v0, v1, :cond_2
iget-object v0, p0, Lkotlin/sequences/DropWhileSequence$iterator$1;->iterator:Ljava/util/Iterator;
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_1
goto :goto_0
:cond_1
const/4 v1, 0x0
:cond_2
:goto_0
return v1
.end method
.method public next()Ljava/lang/Object;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
.line 494
iget v0, p0, Lkotlin/sequences/DropWhileSequence$iterator$1;->dropState:I
const/4 v1, -0x1
if-ne v0, v1, :cond_0
.line 495
invoke-direct {p0}, Lkotlin/sequences/DropWhileSequence$iterator$1;->drop()V
.line 497
:cond_0
iget v0, p0, Lkotlin/sequences/DropWhileSequence$iterator$1;->dropState:I
const/4 v1, 0x1
if-ne v0, v1, :cond_1
.line 499
iget-object v0, p0, Lkotlin/sequences/DropWhileSequence$iterator$1;->nextItem:Ljava/lang/Object;
const/4 v1, 0x0
.line 500
iput-object v1, p0, Lkotlin/sequences/DropWhileSequence$iterator$1;->nextItem:Ljava/lang/Object;
const/4 v1, 0x0
.line 501
iput v1, p0, Lkotlin/sequences/DropWhileSequence$iterator$1;->dropState:I
return-object v0
.line 504
:cond_1
iget-object v0, p0, Lkotlin/sequences/DropWhileSequence$iterator$1;->iterator:Ljava/util/Iterator;
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
return-object v0
.end method
.method public remove()V
.locals 2
new-instance v0, Ljava/lang/UnsupportedOperationException;
const-string v1, "Operation is not supported for read-only collection"
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public final setDropState(I)V
.locals 0
.line 478
iput p1, p0, Lkotlin/sequences/DropWhileSequence$iterator$1;->dropState:I
return-void
.end method
.method public final setNextItem(Ljava/lang/Object;)V
.locals 0
.param p1 # Ljava/lang/Object;
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 479
iput-object p1, p0, Lkotlin/sequences/DropWhileSequence$iterator$1;->nextItem:Ljava/lang/Object;
return-void
.end method