.class public final Lkotlin/sequences/DropSequence; .super Ljava/lang/Object; .source "Sequences.kt" # interfaces .implements Lkotlin/sequences/Sequence; .implements Lkotlin/sequences/DropTakeSequence; # annotations .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;", "Lkotlin/sequences/Sequence<", "TT;>;", "Lkotlin/sequences/DropTakeSequence<", "TT;>;" } .end annotation .annotation system Ldalvik/annotation/SourceDebugExtension; value = "SMAP\nSequences.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Sequences.kt\nkotlin/sequences/DropSequence\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,680:1\n1#2:681\n*E\n" .end annotation .annotation runtime Lkotlin/Metadata; d1 = { "\u0000\"\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0004\n\u0002\u0010(\n\u0002\u0008\u0002\u0008\u0000\u0018\u0000*\u0004\u0008\u0000\u0010\u00012\u0008\u0012\u0004\u0012\u0002H\u00010\u00022\u0008\u0012\u0004\u0012\u0002H\u00010\u0003B\u001b\u0012\u000c\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u0002\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u00a2\u0006\u0002\u0010\u0007J\u0016\u0010\u0008\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u00022\u0006\u0010\t\u001a\u00020\u0006H\u0016J\u000f\u0010\n\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u000bH\u0096\u0002J\u0016\u0010\u000c\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u00022\u0006\u0010\t\u001a\u00020\u0006H\u0016R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u0002X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\r" } d2 = { "Lkotlin/sequences/DropSequence;", "T", "Lkotlin/sequences/Sequence;", "Lkotlin/sequences/DropTakeSequence;", "sequence", "count", "", "(Lkotlin/sequences/Sequence;I)V", "drop", "n", "iterator", "", "take", "kotlin-stdlib" } k = 0x1 mv = { 0x1, 0x9, 0x0 } xi = 0x30 .end annotation # instance fields .field private final count:I .field private final sequence:Lkotlin/sequences/Sequence; .annotation system Ldalvik/annotation/Signature; value = { "Lkotlin/sequences/Sequence<", "TT;>;" } .end annotation .end field # direct methods .method public constructor (Lkotlin/sequences/Sequence;I)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkotlin/sequences/Sequence<", "+TT;>;I)V" } .end annotation const-string v0, "sequence" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 478 invoke-direct {p0}, Ljava/lang/Object;->()V iput-object p1, p0, Lkotlin/sequences/DropSequence;->sequence:Lkotlin/sequences/Sequence; iput p2, p0, Lkotlin/sequences/DropSequence;->count:I if-ltz p2, :cond_0 return-void .line 483 :cond_0 new-instance p0, Ljava/lang/StringBuilder; const-string p1, "count must be non-negative, but was " invoke-direct {p0, p1}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V invoke-virtual {p0, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; move-result-object p0 const/16 p1, 0x2e invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; move-result-object p0 invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 new-instance p1, Ljava/lang/IllegalArgumentException; invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object p0 invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw p1 .end method .method public static final synthetic access$getCount$p(Lkotlin/sequences/DropSequence;)I .locals 0 .line 478 iget p0, p0, Lkotlin/sequences/DropSequence;->count:I return p0 .end method .method public static final synthetic access$getSequence$p(Lkotlin/sequences/DropSequence;)Lkotlin/sequences/Sequence; .locals 0 .line 478 iget-object p0, p0, Lkotlin/sequences/DropSequence;->sequence:Lkotlin/sequences/Sequence; return-object p0 .end method # virtual methods .method public drop(I)Lkotlin/sequences/Sequence; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(I)", "Lkotlin/sequences/Sequence<", "TT;>;" } .end annotation iget v0, p0, Lkotlin/sequences/DropSequence;->count:I add-int/2addr v0, p1 if-gez v0, :cond_0 .line 486 new-instance v0, Lkotlin/sequences/DropSequence; check-cast p0, Lkotlin/sequences/Sequence; invoke-direct {v0, p0, p1}, Lkotlin/sequences/DropSequence;->(Lkotlin/sequences/Sequence;I)V goto :goto_0 :cond_0 new-instance p1, Lkotlin/sequences/DropSequence; iget-object p0, p0, Lkotlin/sequences/DropSequence;->sequence:Lkotlin/sequences/Sequence; invoke-direct {p1, p0, v0}, Lkotlin/sequences/DropSequence;->(Lkotlin/sequences/Sequence;I)V move-object v0, p1 :goto_0 check-cast v0, Lkotlin/sequences/Sequence; return-object v0 .end method .method public iterator()Ljava/util/Iterator; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Iterator<", "TT;>;" } .end annotation .line 489 new-instance v0, Lkotlin/sequences/DropSequence$iterator$1; invoke-direct {v0, p0}, Lkotlin/sequences/DropSequence$iterator$1;->(Lkotlin/sequences/DropSequence;)V check-cast v0, Ljava/util/Iterator; return-object v0 .end method .method public take(I)Lkotlin/sequences/Sequence; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(I)", "Lkotlin/sequences/Sequence<", "TT;>;" } .end annotation iget v0, p0, Lkotlin/sequences/DropSequence;->count:I add-int/2addr v0, p1 if-gez v0, :cond_0 .line 487 new-instance v0, Lkotlin/sequences/TakeSequence; check-cast p0, Lkotlin/sequences/Sequence; invoke-direct {v0, p0, p1}, Lkotlin/sequences/TakeSequence;->(Lkotlin/sequences/Sequence;I)V check-cast v0, Lkotlin/sequences/DropTakeSequence; goto :goto_0 :cond_0 new-instance p1, Lkotlin/sequences/SubSequence; iget-object v1, p0, Lkotlin/sequences/DropSequence;->sequence:Lkotlin/sequences/Sequence; iget p0, p0, Lkotlin/sequences/DropSequence;->count:I invoke-direct {p1, v1, p0, v0}, Lkotlin/sequences/SubSequence;->(Lkotlin/sequences/Sequence;II)V move-object v0, p1 check-cast v0, Lkotlin/sequences/DropTakeSequence; :goto_0 check-cast v0, Lkotlin/sequences/Sequence; return-object v0 .end method