| | | |
Offset 35, 62 lines modified | Offset 35, 14 lines modified |
| |
35 | ····move-result·p1 | 35 | ····move-result·p1 |
| |
36 | ····:cond_0 | 36 | ····:cond_0 |
37 | ····return·p1 | 37 | ····return·p1 |
38 | .end·method | 38 | .end·method |
| |
39 | .method·public·static·final·collectionSizeOrNull(Ljava/lang/Iterable;)Ljava/lang/Integer; | |
40 | ····.locals·1 | |
41 | ····.param·p0····#·Ljava/lang/Iterable; | |
42 | ········.annotation·build·Lorg/jetbrains/annotations/NotNull; | |
43 | ········.end·annotation | |
44 | ····.end·param | |
45 | ····.annotation·system·Ldalvik/annotation/Signature; | |
46 | ········value·=·{ | |
47 | ············"<T:", | |
48 | ············"Ljava/lang/Object;", | |
49 | ············">(", | |
50 | ············"Ljava/lang/Iterable<", | |
51 | ············"+TT;>;)", | |
52 | ············"Ljava/lang/Integer;" | |
53 | ········} | |
54 | ····.end·annotation | |
| |
55 | ····.annotation·build·Lorg/jetbrains/annotations/Nullable; | |
56 | ····.end·annotation | |
| |
57 | ····const-string·v0,·"$this$collectionSizeOrNull" | |
| |
58 | ····invoke-static·{p0,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V | |
| |
59 | ····.line·33 | |
60 | ····instance-of·v0,·p0,·Ljava/util/Collection; | |
| |
61 | ····if-eqz·v0,·:cond_0 | |
| |
62 | ····check-cast·p0,·Ljava/util/Collection; | |
| |
63 | ····invoke-interface·{p0},·Ljava/util/Collection;->size()I | |
| |
64 | ····move-result·p0 | |
| |
65 | ····invoke-static·{p0},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | |
| |
66 | ····move-result-object·p0 | |
| |
67 | ····goto·:goto_0 | |
| |
68 | ····:cond_0 | |
69 | ····const/4·p0,·0x0 | |
| |
70 | ····:goto_0 | |
71 | ····return-object·p0 | |
72 | .end·method | |
| |
73 | .method·public·static·final·convertToSetForSetOperationWith(Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/util/Collection; | 39 | .method·public·static·final·convertToSetForSetOperationWith(Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/util/Collection; |
74 | ····.locals·1 | 40 | ····.locals·1 |
75 | ····.param·p0····#·Ljava/lang/Iterable; | 41 | ····.param·p0····#·Ljava/lang/Iterable; |
76 | ········.annotation·build·Lorg/jetbrains/annotations/NotNull; | 42 | ········.annotation·build·Lorg/jetbrains/annotations/NotNull; |
77 | ········.end·annotation | 43 | ········.end·annotation |
78 | ····.end·param | 44 | ····.end·param |
79 | ····.param·p1····#·Ljava/lang/Iterable; | 45 | ····.param·p1····#·Ljava/lang/Iterable; |
Offset 185, 73 lines modified | Offset 137, 14 lines modified |
| |
185 | ····move-result-object·p0 | 137 | ····move-result-object·p0 |
| |
186 | ····:goto_0 | 138 | ····:goto_0 |
187 | ····return-object·p0 | 139 | ····return-object·p0 |
188 | .end·method | 140 | .end·method |
| |
189 | .method·public·static·flatten(Ljava/lang/Iterable;)Ljava/util/List; | |
190 | ····.locals·2 | |
191 | ····.param·p0····#·Ljava/lang/Iterable; | |
192 | ········.annotation·build·Lorg/jetbrains/annotations/NotNull; | |
193 | ········.end·annotation | |
194 | ····.end·param | |
195 | ····.annotation·system·Ldalvik/annotation/Signature; | |
196 | ········value·=·{ | |
197 | ············"<T:", | |
198 | ············"Ljava/lang/Object;", | |
199 | ············">(", | |
200 | ············"Ljava/lang/Iterable<", | |
201 | ············"+", | |
202 | ············"Ljava/lang/Iterable<", | |
203 | ············"+TT;>;>;)", | |
204 | ············"Ljava/util/List<", | |
205 | ············"TT;>;" | |
206 | ········} | |
207 | ····.end·annotation | |
| |
208 | ····.annotation·build·Lorg/jetbrains/annotations/NotNull; | |
209 | ····.end·annotation | |
| |
210 | ····const-string·v0,·"$this$flatten" | |
| |
211 | ····invoke-static·{p0,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V | |
| |
212 | ····.line·70 | |
213 | ····new-instance·v0,·Ljava/util/ArrayList; | |
| |
214 | ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V | |
| |
215 | ····.line·71 | |
216 | ····invoke-interface·{p0},·Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; | |
| |
217 | ····move-result-object·p0 | |
| |
218 | ····:goto_0 | |
219 | ····invoke-interface·{p0},·Ljava/util/Iterator;->hasNext()Z | |
| |
220 | ····move-result·v1 | |
| |
221 | ····if-eqz·v1,·:cond_0 | |
| |
222 | ····invoke-interface·{p0},·Ljava/util/Iterator;->next()Ljava/lang/Object; | |
| |
223 | ····move-result-object·v1 | |
| |
224 | ····check-cast·v1,·Ljava/lang/Iterable; | |
| |
225 | ····.line·72 | |
226 | ····invoke-static·{v0,·v1},·Lkotlin/collections/CollectionsKt;->addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z | |
| |
227 | ····goto·:goto_0 | |
| |
228 | ····:cond_0 | |
229 | ····return-object·v0 | |
230 | .end·method | |
| |
231 | .method·private·static·final·safeToConvertToSet$CollectionsKt__IterablesKt(Ljava/util/Collection;)Z | 141 | .method·private·static·final·safeToConvertToSet$CollectionsKt__IterablesKt(Ljava/util/Collection;)Z |
232 | ····.locals·2 | 142 | ····.locals·2 |
233 | ····.param·p0····#·Ljava/util/Collection; | 143 | ····.param·p0····#·Ljava/util/Collection; |
234 | ········.annotation·build·Lorg/jetbrains/annotations/NotNull; | 144 | ········.annotation·build·Lorg/jetbrains/annotations/NotNull; |
235 | ········.end·annotation | 145 | ········.end·annotation |
236 | ····.end·param | 146 | ····.end·param |
237 | ····.annotation·system·Ldalvik/annotation/Signature; | 147 | ····.annotation·system·Ldalvik/annotation/Signature; |