final class java.util.Spliterators$ArraySpliterator<T> implements java.util.Spliterator<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: java.util.Spliterators$ArraySpliterator
super_class: java.lang.Object
{
private final java.lang.Object[] array;
descriptor: [Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int index;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final int fence;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int characteristics;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.Object[], int);
descriptor: ([Ljava/lang/Object;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iconst_0
aload 1
arraylength
iload 2
invokespecial java.util.Spliterators$ArraySpliterator.<init>:([Ljava/lang/Object;III)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Spliterators$ArraySpliterator<TT;>;
0 2 1 array [Ljava/lang/Object;
0 2 2 additionalCharacteristics I
MethodParameters:
Name Flags
array
additionalCharacteristics
public void <init>(java.lang.Object[], int, int, int);
descriptor: ([Ljava/lang/Object;III)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield java.util.Spliterators$ArraySpliterator.array:[Ljava/lang/Object;
2: aload 0
iload 2
putfield java.util.Spliterators$ArraySpliterator.index:I
3: aload 0
iload 3
putfield java.util.Spliterators$ArraySpliterator.fence:I
4: aload 0
iload 4
bipush 64
ior
sipush 16384
ior
putfield java.util.Spliterators$ArraySpliterator.characteristics:I
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/util/Spliterators$ArraySpliterator<TT;>;
0 6 1 array [Ljava/lang/Object;
0 6 2 origin I
0 6 3 fence I
0 6 4 additionalCharacteristics I
MethodParameters:
Name Flags
array
origin
fence
additionalCharacteristics
public java.util.Spliterator<T> trySplit();
descriptor: ()Ljava/util/Spliterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=1
start local 0 0: aload 0
getfield java.util.Spliterators$ArraySpliterator.index:I
istore 1
start local 1 1: iload 1
aload 0
getfield java.util.Spliterators$ArraySpliterator.fence:I
iadd
iconst_1
iushr
istore 2
start local 2 2: iload 1
iload 2
if_icmplt 4
3: aconst_null
goto 5
4: StackMap locals: int int
StackMap stack:
new java.util.Spliterators$ArraySpliterator
dup
aload 0
getfield java.util.Spliterators$ArraySpliterator.array:[Ljava/lang/Object;
iload 1
aload 0
iload 2
dup_x1
putfield java.util.Spliterators$ArraySpliterator.index:I
aload 0
getfield java.util.Spliterators$ArraySpliterator.characteristics:I
invokespecial java.util.Spliterators$ArraySpliterator.<init>:([Ljava/lang/Object;III)V
5: StackMap locals:
StackMap stack: java.util.Spliterators$ArraySpliterator
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/util/Spliterators$ArraySpliterator<TT;>;
1 6 1 lo I
2 6 2 mid I
Signature: ()Ljava/util/Spliterator<TT;>;
public void forEachRemaining(java.util.function.Consumer<? super T>);
descriptor: (Ljava/util/function/Consumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield java.util.Spliterators$ArraySpliterator.array:[Ljava/lang/Object;
dup
astore 2
start local 2 3: arraylength
aload 0
getfield java.util.Spliterators$ArraySpliterator.fence:I
dup
istore 4
start local 4 4: if_icmplt 8
5: aload 0
getfield java.util.Spliterators$ArraySpliterator.index:I
dup
istore 3
start local 3 6: iflt 8
iload 3
aload 0
iload 4
dup_x1
putfield java.util.Spliterators$ArraySpliterator.index:I
if_icmpge 8
7: StackMap locals: java.lang.Object[] int int
StackMap stack:
aload 1
aload 2
iload 3
aaload
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
iinc 3 1
iload 3
iload 4
if_icmplt 7
end local 3 8: StackMap locals: java.util.Spliterators$ArraySpliterator java.util.function.Consumer java.lang.Object[] top int
StackMap stack:
return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/util/Spliterators$ArraySpliterator<TT;>;
0 9 1 action Ljava/util/function/Consumer<-TT;>;
3 9 2 a [Ljava/lang/Object;
6 8 3 i I
4 9 4 hi I
Signature: (Ljava/util/function/Consumer<-TT;>;)V
MethodParameters:
Name Flags
action
public boolean tryAdvance(java.util.function.Consumer<? super T>);
descriptor: (Ljava/util/function/Consumer;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield java.util.Spliterators$ArraySpliterator.index:I
iflt 6
aload 0
getfield java.util.Spliterators$ArraySpliterator.index:I
aload 0
getfield java.util.Spliterators$ArraySpliterator.fence:I
if_icmpge 6
3: aload 0
getfield java.util.Spliterators$ArraySpliterator.array:[Ljava/lang/Object;
aload 0
dup
getfield java.util.Spliterators$ArraySpliterator.index:I
dup_x1
iconst_1
iadd
putfield java.util.Spliterators$ArraySpliterator.index:I
aaload
astore 2
start local 2 4: aload 1
aload 2
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
5: iconst_1
ireturn
end local 2 6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/util/Spliterators$ArraySpliterator<TT;>;
0 7 1 action Ljava/util/function/Consumer<-TT;>;
4 6 2 e TT;
Signature: (Ljava/util/function/Consumer<-TT;>;)Z
MethodParameters:
Name Flags
action
public long estimateSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Spliterators$ArraySpliterator.fence:I
aload 0
getfield java.util.Spliterators$ArraySpliterator.index:I
isub
i2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Spliterators$ArraySpliterator<TT;>;
public int characteristics();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Spliterators$ArraySpliterator.characteristics:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Spliterators$ArraySpliterator<TT;>;
public java.util.Comparator<? super T> getComparator();
descriptor: ()Ljava/util/Comparator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_4
invokevirtual java.util.Spliterators$ArraySpliterator.hasCharacteristics:(I)Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/Spliterators$ArraySpliterator<TT;>;
Signature: ()Ljava/util/Comparator<-TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Spliterator<TT;>;
SourceFile: "Spliterators.java"
NestHost: java.util.Spliterators
InnerClasses:
final ArraySpliterator = java.util.Spliterators$ArraySpliterator of java.util.Spliterators