| | | |
Offset 3, 196 lines modified | Offset 3, 7 lines modified |
3 | .source·"_Sets.kt" | 3 | .source·"_Sets.kt" |
| |
| |
4 | #·annotations | 4 | #·annotations |
5 | .annotation·system·Ldalvik/annotation/SourceDebugExtension; | 5 | .annotation·system·Ldalvik/annotation/SourceDebugExtension; |
6 | ····value·=·"SMAP\n_Sets.kt\nKotlin\n*S·Kotlin\n*F\n+·1·_Sets.kt\nkotlin/collections/SetsKt___SetsKt\n+·2·_Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,148:1\n746#2,2:149\n738#2,2:151\n*E\n*S·KotlinDebug\n*F\n+·1·_Sets.kt\nkotlin/collections/SetsKt___SetsKt\n*L\n28#1,2:149\n58#1,2:151\n*E\n" | 6 | ····value·=·"SMAP\n_Sets.kt\nKotlin\n*S·Kotlin\n*F\n+·1·_Sets.kt\nkotlin/collections/SetsKt___SetsKt\n+·2·_Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,148:1\n746#2,2:149\n738#2,2:151\n*E\n*S·KotlinDebug\n*F\n+·1·_Sets.kt\nkotlin/collections/SetsKt___SetsKt\n*L\n28#1,2:149\n58#1,2:151\n*E\n" |
7 | .end·annotation | 7 | .end·annotation |
| |
| |
8 | #·direct·methods | |
9 | .method·public·static·minus(Ljava/util/Set;Ljava/lang/Iterable;)Ljava/util/Set; | |
10 | ····.locals·3 | |
11 | ····.param·p0····#·Ljava/util/Set; | |
12 | ········.annotation·build·Lorg/jetbrains/annotations/NotNull; | |
13 | ········.end·annotation | |
14 | ····.end·param | |
15 | ····.param·p1····#·Ljava/lang/Iterable; | |
16 | ········.annotation·build·Lorg/jetbrains/annotations/NotNull; | |
17 | ········.end·annotation | |
18 | ····.end·param | |
19 | ····.annotation·system·Ldalvik/annotation/Signature; | |
20 | ········value·=·{ | |
21 | ············"<T:", | |
22 | ············"Ljava/lang/Object;", | |
23 | ············">(", | |
24 | ············"Ljava/util/Set<", | |
25 | ············"+TT;>;", | |
26 | ············"Ljava/lang/Iterable<", | |
27 | ············"+TT;>;)", | |
28 | ············"Ljava/util/Set<", | |
29 | ············"TT;>;" | |
30 | ········} | |
31 | ····.end·annotation | |
| |
32 | ····.annotation·build·Lorg/jetbrains/annotations/NotNull; | |
33 | ····.end·annotation | |
| |
34 | ····const-string·v0,·"$this$minus" | |
| |
35 | ····invoke-static·{p0,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V | |
| |
36 | ····const-string·v0,·"elements" | |
| |
37 | ····invoke-static·{p1,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V | |
| |
38 | ····.line·54 | |
39 | ····invoke-static·{p1,·p0},·Lkotlin/collections/CollectionsKt__IterablesKt;->convertToSetForSetOperationWith(Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/util/Collection; | |
| |
40 | ····move-result-object·p1 | |
| |
41 | ····.line·55 | |
42 | ····invoke-interface·{p1},·Ljava/util/Collection;->isEmpty()Z | |
| |
43 | ····move-result·v0 | |
| |
44 | ····if-eqz·v0,·:cond_0 | |
| |
45 | ····.line·56 | |
46 | ····invoke-static·{p0},·Lkotlin/collections/CollectionsKt;->toSet(Ljava/lang/Iterable;)Ljava/util/Set; | |
| |
47 | ····move-result-object·p0 | |
| |
48 | ····return-object·p0 | |
| |
49 | ····.line·57 | |
50 | ····:cond_0 | |
51 | ····instance-of·v0,·p1,·Ljava/util/Set; | |
| |
52 | ····if-eqz·v0,·:cond_3 | |
| |
53 | ····.line·58 | |
54 | ····new-instance·v0,·Ljava/util/LinkedHashSet; | |
| |
55 | ····invoke-direct·{v0},·Ljava/util/LinkedHashSet;-><init>()V | |
| |
56 | ····.line·738 | |
57 | ····invoke-interface·{p0},·Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; | |
| |
58 | ····move-result-object·p0 | |
| |
59 | ····:cond_1 | |
60 | ····:goto_0 | |
61 | ····invoke-interface·{p0},·Ljava/util/Iterator;->hasNext()Z | |
| |
62 | ····move-result·v1 | |
| |
63 | ····if-eqz·v1,·:cond_2 | |
| |
64 | ····invoke-interface·{p0},·Ljava/util/Iterator;->next()Ljava/lang/Object; | |
| |
65 | ····move-result-object·v1 | |
| |
66 | ····.line·58 | |
67 | ····invoke-interface·{p1,·v1},·Ljava/util/Collection;->contains(Ljava/lang/Object;)Z | |
| |
68 | ····move-result·v2 | |
| |
69 | ····if-nez·v2,·:cond_1 | |
| |
70 | ····invoke-interface·{v0,·v1},·Ljava/util/Collection;->add(Ljava/lang/Object;)Z | |
| |
71 | ····goto·:goto_0 | |
| |
72 | ····:cond_2 | |
73 | ····return-object·v0 | |
| |
74 | ····.line·59 | |
75 | ····:cond_3 | |
76 | ····new-instance·v0,·Ljava/util/LinkedHashSet; | |
| |
77 | ····invoke-direct·{v0,·p0},·Ljava/util/LinkedHashSet;-><init>(Ljava/util/Collection;)V | |
| |
78 | ····.line·60 | |
79 | ····invoke-virtual·{v0,·p1},·Ljava/util/LinkedHashSet;->removeAll(Ljava/util/Collection;)Z | |
| |
80 | ····return-object·v0 | |
81 | .end·method | |
| |
82 | .method·public·static·plus(Ljava/util/Set;Ljava/lang/Iterable;)Ljava/util/Set; | |
83 | ····.locals·2 | |
84 | ····.param·p0····#·Ljava/util/Set; | |
85 | ········.annotation·build·Lorg/jetbrains/annotations/NotNull; | |
86 | ········.end·annotation | |
87 | ····.end·param | |
88 | ····.param·p1····#·Ljava/lang/Iterable; | |
89 | ········.annotation·build·Lorg/jetbrains/annotations/NotNull; | |
90 | ········.end·annotation | |
91 | ····.end·param | |
92 | ····.annotation·system·Ldalvik/annotation/Signature; | |
93 | ········value·=·{ | |
94 | ············"<T:", | |
95 | ············"Ljava/lang/Object;", | |
96 | ············">(", | |
97 | ············"Ljava/util/Set<", | |
98 | ············"+TT;>;", | |
99 | ············"Ljava/lang/Iterable<", | |
100 | ············"+TT;>;)", | |
101 | ············"Ljava/util/Set<", | |
102 | ············"TT;>;" | |
103 | ········} | |
104 | ····.end·annotation | |
| |
105 | ····.annotation·build·Lorg/jetbrains/annotations/NotNull; | |
106 | ····.end·annotation | |
| |
107 | ····const-string·v0,·"$this$plus" | |
| |
108 | ····invoke-static·{p0,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V | |
| |
109 | ····const-string·v0,·"elements" | |
| |
110 | ····invoke-static·{p1,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V | |
| |
111 | ····.line·119 | |
112 | ····invoke-static·{p1},·Lkotlin/collections/CollectionsKt__IterablesKt;->collectionSizeOrNull(Ljava/lang/Iterable;)Ljava/lang/Integer; | |
| |
113 | ····move-result-object·v0 | |
| |
114 | ····if-eqz·v0,·:cond_0 | |
| |
115 | ····invoke-virtual·{v0},·Ljava/lang/Number;->intValue()I | |
| |
116 | ····move-result·v0 | |
| |
117 | ····invoke-interface·{p0},·Ljava/util/Set;->size()I | |
| |
118 | ····move-result·v1 | |
| |
119 | ····add-int/2addr·v1,·v0 | |
| |
120 | ····goto·:goto_0 | |
| |
121 | ····:cond_0 | |
122 | ····invoke-interface·{p0},·Ljava/util/Set;->size()I | |
| |
123 | ····move-result·v0 | |
| |
124 | ····mul-int/lit8·v1,·v0,·0x2 | |
| |
125 | ····:goto_0 | |
126 | ····invoke-static·{v1},·Lkotlin/collections/MapsKt;->mapCapacity(I)I | |
| |
127 | ····move-result·v0 | |
| |
128 | ····new-instance·v1,·Ljava/util/LinkedHashSet; | |
| |
129 | ····invoke-direct·{v1,·v0},·Ljava/util/LinkedHashSet;-><init>(I)V | |
| |
130 | ····.line·120 | |
131 | ····invoke-virtual·{v1,·p0},·Ljava/util/LinkedHashSet;->addAll(Ljava/util/Collection;)Z | |
| |
132 | ····.line·121 | |
133 | ····invoke-static·{v1,·p1},·Lkotlin/collections/CollectionsKt;->addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z | |
| |
134 | ····return-object·v1 | |
135 | .end·method | |