changed repo structure
This commit is contained in:
@@ -0,0 +1,170 @@
|
||||
.class final Lkotlin/UByteArray$Iterator;
|
||||
.super Ljava/lang/Object;
|
||||
.source "UByteArray.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/util/Iterator;
|
||||
.implements Lkotlin/jvm/internal/markers/KMappedMarker;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lkotlin/UByteArray;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1a
|
||||
name = "Iterator"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/lang/Object;",
|
||||
"Ljava/util/Iterator<",
|
||||
"Lkotlin/UByte;",
|
||||
">;",
|
||||
"Lkotlin/jvm/internal/markers/KMappedMarker;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u0000$\n\u0002\u0018\u0002\n\u0002\u0010(\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0012\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0000\n\u0002\u0010\u000b\n\u0002\u0008\u0004\u0008\u0002\u0018\u00002\u0008\u0012\u0004\u0012\u00020\u00020\u0001B\r\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u00a2\u0006\u0002\u0010\u0005J\t\u0010\u0008\u001a\u00020\tH\u0096\u0002J\u0016\u0010\n\u001a\u00020\u0002H\u0096\u0002\u00f8\u0001\u0000\u00f8\u0001\u0001\u00a2\u0006\u0004\u0008\u000b\u0010\u000cR\u000e\u0010\u0003\u001a\u00020\u0004X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0006\u001a\u00020\u0007X\u0082\u000e\u00a2\u0006\u0002\n\u0000\u00f8\u0001\u0001\u0082\u0002\u0008\n\u0002\u0008!\n\u0002\u0008\u0019\u00a8\u0006\r"
|
||||
}
|
||||
d2 = {
|
||||
"Lkotlin/UByteArray$Iterator;",
|
||||
"",
|
||||
"Lkotlin/UByte;",
|
||||
"array",
|
||||
"",
|
||||
"([B)V",
|
||||
"index",
|
||||
"",
|
||||
"hasNext",
|
||||
"",
|
||||
"next",
|
||||
"next-w2LRezQ",
|
||||
"()B",
|
||||
"kotlin-stdlib"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private final array:[B
|
||||
|
||||
.field private index:I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>([B)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "array"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
.line 46
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lkotlin/UByteArray$Iterator;->array:[B
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public hasNext()Z
|
||||
.locals 2
|
||||
|
||||
.line 48
|
||||
iget v0, p0, Lkotlin/UByteArray$Iterator;->index:I
|
||||
|
||||
iget-object v1, p0, Lkotlin/UByteArray$Iterator;->array:[B
|
||||
|
||||
array-length v1, v1
|
||||
|
||||
if-ge v0, v1, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic next()Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
.line 46
|
||||
invoke-virtual {p0}, Lkotlin/UByteArray$Iterator;->next-w2LRezQ()B
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-static {v0}, Lkotlin/UByte;->box-impl(B)Lkotlin/UByte;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public next-w2LRezQ()B
|
||||
.locals 3
|
||||
|
||||
.line 49
|
||||
iget v0, p0, Lkotlin/UByteArray$Iterator;->index:I
|
||||
|
||||
iget-object v1, p0, Lkotlin/UByteArray$Iterator;->array:[B
|
||||
|
||||
array-length v2, v1
|
||||
|
||||
if-ge v0, v2, :cond_0
|
||||
|
||||
add-int/lit8 v2, v0, 0x1
|
||||
|
||||
iput v2, p0, Lkotlin/UByteArray$Iterator;->index:I
|
||||
|
||||
aget-byte v0, v1, v0
|
||||
|
||||
invoke-static {v0}, Lkotlin/UByte;->constructor-impl(B)B
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Ljava/util/NoSuchElementException;
|
||||
|
||||
iget v1, p0, Lkotlin/UByteArray$Iterator;->index:I
|
||||
|
||||
invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw 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
|
||||
Reference in New Issue
Block a user