.class Lkotlin/collections/CollectionsKt___CollectionsJvmKt; .super Lkotlin/collections/CollectionsKt__ReversedViewsKt; .source "_CollectionsJvm.kt" # annotations .annotation runtime Lkotlin/Metadata; d1 = { "\u0000R\n\u0000\n\u0002\u0010 \n\u0000\n\u0002\u0010\u001c\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u001f\n\u0002\u0008\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010!\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000f\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\u001a(\u0010\u0000\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\u0006\u0012\u0002\u0008\u00030\u00032\u000c\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0005\u001aA\u0010\u0006\u001a\u0002H\u0007\"\u0010\u0008\u0000\u0010\u0007*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u0008\"\u0004\u0008\u0001\u0010\u0002*\u0006\u0012\u0002\u0008\u00030\u00032\u0006\u0010\t\u001a\u0002H\u00072\u000c\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0005\u00a2\u0006\u0002\u0010\n\u001a\u0016\u0010\u000b\u001a\u00020\u000c\"\u0004\u0008\u0000\u0010\r*\u0008\u0012\u0004\u0012\u0002H\r0\u000e\u001a5\u0010\u000f\u001a\u00020\u0010\"\u0004\u0008\u0000\u0010\r*\u0008\u0012\u0004\u0012\u0002H\r0\u00032\u0012\u0010\u0011\u001a\u000e\u0012\u0004\u0012\u0002H\r\u0012\u0004\u0012\u00020\u00100\u0012H\u0087\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0008\u0013\u001a5\u0010\u000f\u001a\u00020\u0014\"\u0004\u0008\u0000\u0010\r*\u0008\u0012\u0004\u0012\u0002H\r0\u00032\u0012\u0010\u0011\u001a\u000e\u0012\u0004\u0012\u0002H\r\u0012\u0004\u0012\u00020\u00140\u0012H\u0087\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0008\u0015\u001a&\u0010\u0016\u001a\u0008\u0012\u0004\u0012\u0002H\r0\u0017\"\u000e\u0008\u0000\u0010\r*\u0008\u0012\u0004\u0012\u0002H\r0\u0018*\u0008\u0012\u0004\u0012\u0002H\r0\u0003\u001a8\u0010\u0016\u001a\u0008\u0012\u0004\u0012\u0002H\r0\u0017\"\u0004\u0008\u0000\u0010\r*\u0008\u0012\u0004\u0012\u0002H\r0\u00032\u001a\u0010\u0019\u001a\u0016\u0012\u0006\u0008\u0000\u0012\u0002H\r0\u001aj\n\u0012\u0006\u0008\u0000\u0012\u0002H\r`\u001b\u0082\u0002\u0007\n\u0005\u0008\u009920\u0001\u00a8\u0006\u001c" } d2 = { "filterIsInstance", "", "R", "", "klass", "Ljava/lang/Class;", "filterIsInstanceTo", "C", "", "destination", "(Ljava/lang/Iterable;Ljava/util/Collection;Ljava/lang/Class;)Ljava/util/Collection;", "reverse", "", "T", "", "sumOf", "Ljava/math/BigDecimal;", "selector", "Lkotlin/Function1;", "sumOfBigDecimal", "Ljava/math/BigInteger;", "sumOfBigInteger", "toSortedSet", "Ljava/util/SortedSet;", "", "comparator", "Ljava/util/Comparator;", "Lkotlin/Comparator;", "kotlin-stdlib" } k = 0x5 mv = { 0x1, 0x5, 0x1 } xi = 0x1 xs = "kotlin/collections/CollectionsKt" .end annotation # direct methods .method public constructor ()V .registers 1 invoke-direct {p0}, Lkotlin/collections/CollectionsKt__ReversedViewsKt;->()V return-void .end method .method public static final filterIsInstance(Ljava/lang/Iterable;Ljava/lang/Class;)Ljava/util/List; .registers 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Iterable<", "*>;", "Ljava/lang/Class<", "TR;>;)", "Ljava/util/List<", "TR;>;" } .end annotation const-string v0, "$this$filterIsInstance" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "klass" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 25 new-instance v0, Ljava/util/ArrayList; invoke-direct {v0}, Ljava/util/ArrayList;->()V check-cast v0, Ljava/util/Collection; invoke-static {p0, v0, p1}, Lkotlin/collections/CollectionsKt;->filterIsInstanceTo(Ljava/lang/Iterable;Ljava/util/Collection;Ljava/lang/Class;)Ljava/util/Collection; move-result-object p0 check-cast p0, Ljava/util/List; return-object p0 .end method .method public static final filterIsInstanceTo(Ljava/lang/Iterable;Ljava/util/Collection;Ljava/lang/Class;)Ljava/util/Collection; .registers 5 .annotation system Ldalvik/annotation/Signature; value = { ";R:", "Ljava/lang/Object;", ">(", "Ljava/lang/Iterable<", "*>;TC;", "Ljava/lang/Class<", "TR;>;)TC;" } .end annotation const-string v0, "$this$filterIsInstanceTo" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "destination" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "klass" invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 35 invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object p0 :cond_13 :goto_13 invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z move-result v0 if-eqz v0, :cond_27 invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v0 invoke-virtual {p2, v0}, Ljava/lang/Class;->isInstance(Ljava/lang/Object;)Z move-result v1 if-eqz v1, :cond_13 invoke-interface {p1, v0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z goto :goto_13 :cond_27 return-object p1 .end method .method public static final reverse(Ljava/util/List;)V .registers 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "TT;>;)V" } .end annotation const-string v0, "$this$reverse" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 43 invoke-static {p0}, Ljava/util/Collections;->reverse(Ljava/util/List;)V return-void .end method .method private static final sumOfBigDecimal(Ljava/lang/Iterable;Lkotlin/jvm/functions/Function1;)Ljava/math/BigDecimal; .registers 4 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Iterable<", "+TT;>;", "Lkotlin/jvm/functions/Function1<", "-TT;+", "Ljava/math/BigDecimal;", ">;)", "Ljava/math/BigDecimal;" } .end annotation const/4 v0, 0x0 int-to-long v0, v0 .line 71 invoke-static {v0, v1}, Ljava/math/BigDecimal;->valueOf(J)Ljava/math/BigDecimal; move-result-object v0 const-string v1, "BigDecimal.valueOf(this.toLong())" invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V .line 72 invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object p0 :goto_f invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z move-result v1 if-eqz v1, :cond_29 invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v1 .line 73 invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v1 check-cast v1, Ljava/math/BigDecimal; invoke-virtual {v0, v1}, Ljava/math/BigDecimal;->add(Ljava/math/BigDecimal;)Ljava/math/BigDecimal; move-result-object v0 const-string v1, "this.add(other)" invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V goto :goto_f :cond_29 return-object v0 .end method .method private static final sumOfBigInteger(Ljava/lang/Iterable;Lkotlin/jvm/functions/Function1;)Ljava/math/BigInteger; .registers 4 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Iterable<", "+TT;>;", "Lkotlin/jvm/functions/Function1<", "-TT;+", "Ljava/math/BigInteger;", ">;)", "Ljava/math/BigInteger;" } .end annotation const/4 v0, 0x0 int-to-long v0, v0 .line 87 invoke-static {v0, v1}, Ljava/math/BigInteger;->valueOf(J)Ljava/math/BigInteger; move-result-object v0 const-string v1, "BigInteger.valueOf(this.toLong())" invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V .line 88 invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object p0 :goto_f invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z move-result v1 if-eqz v1, :cond_29 invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v1 .line 89 invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v1 check-cast v1, Ljava/math/BigInteger; invoke-virtual {v0, v1}, Ljava/math/BigInteger;->add(Ljava/math/BigInteger;)Ljava/math/BigInteger; move-result-object v0 const-string v1, "this.add(other)" invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V goto :goto_f :cond_29 return-object v0 .end method .method public static final toSortedSet(Ljava/lang/Iterable;)Ljava/util/SortedSet; .registers 2 .annotation system Ldalvik/annotation/Signature; value = { ";>(", "Ljava/lang/Iterable<", "+TT;>;)", "Ljava/util/SortedSet<", "TT;>;" } .end annotation const-string v0, "$this$toSortedSet" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 50 new-instance v0, Ljava/util/TreeSet; invoke-direct {v0}, Ljava/util/TreeSet;->()V check-cast v0, Ljava/util/Collection; invoke-static {p0, v0}, Lkotlin/collections/CollectionsKt;->toCollection(Ljava/lang/Iterable;Ljava/util/Collection;)Ljava/util/Collection; move-result-object p0 check-cast p0, Ljava/util/SortedSet; return-object p0 .end method .method public static final toSortedSet(Ljava/lang/Iterable;Ljava/util/Comparator;)Ljava/util/SortedSet; .registers 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Iterable<", "+TT;>;", "Ljava/util/Comparator<", "-TT;>;)", "Ljava/util/SortedSet<", "TT;>;" } .end annotation const-string v0, "$this$toSortedSet" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "comparator" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 59 new-instance v0, Ljava/util/TreeSet; invoke-direct {v0, p1}, Ljava/util/TreeSet;->(Ljava/util/Comparator;)V check-cast v0, Ljava/util/Collection; invoke-static {p0, v0}, Lkotlin/collections/CollectionsKt;->toCollection(Ljava/lang/Iterable;Ljava/util/Collection;)Ljava/util/Collection; move-result-object p0 check-cast p0, Ljava/util/SortedSet; return-object p0 .end method