class java.util.Spliterators$2Adapter implements java.util.PrimitiveIterator$OfInt, java.util.function.IntConsumer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: java.util.Spliterators$2Adapter
super_class: java.lang.Object
{
boolean valueReady;
descriptor: Z
flags: (0x0000)
int nextElement;
descriptor: I
flags: (0x0000)
private final java.util.Spliterator$OfInt val$spliterator;
descriptor: Ljava/util/Spliterator$OfInt;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.util.Spliterator$OfInt);
descriptor: (Ljava/util/Spliterator$OfInt;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield java.util.Spliterators$2Adapter.val$spliterator:Ljava/util/Spliterator$OfInt;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield java.util.Spliterators$2Adapter.valueReady:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/Spliterators$2Adapter;
MethodParameters:
Name Flags
val$spliterator final
public void accept(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
putfield java.util.Spliterators$2Adapter.valueReady:Z
1: aload 0
iload 1
putfield java.util.Spliterators$2Adapter.nextElement:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/Spliterators$2Adapter;
0 3 1 t I
MethodParameters:
Name Flags
t
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Spliterators$2Adapter.valueReady:Z
ifne 2
1: aload 0
getfield java.util.Spliterators$2Adapter.val$spliterator:Ljava/util/Spliterator$OfInt;
aload 0
invokeinterface java.util.Spliterator$OfInt.tryAdvance:(Ljava/util/function/IntConsumer;)Z
pop
2: StackMap locals:
StackMap stack:
aload 0
getfield java.util.Spliterators$2Adapter.valueReady:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/Spliterators$2Adapter;
public int nextInt();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Spliterators$2Adapter.valueReady:Z
ifne 2
aload 0
invokevirtual java.util.Spliterators$2Adapter.hasNext:()Z
ifne 2
1: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield java.util.Spliterators$2Adapter.valueReady:Z
3: aload 0
getfield java.util.Spliterators$2Adapter.nextElement:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/util/Spliterators$2Adapter;
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokeinterface java.util.PrimitiveIterator$OfInt.next:()Ljava/lang/Integer;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void forEachRemaining(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.util.function.IntConsumer
invokeinterface java.util.PrimitiveIterator$OfInt.forEachRemaining:(Ljava/util/function/IntConsumer;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "Spliterators.java"
EnclosingMethod: java.util.Spliterators.iterator:(Ljava/util/Spliterator$OfInt;)Ljava/util/PrimitiveIterator$OfInt;
NestHost: java.util.Spliterators
InnerClasses:
public abstract OfInt = java.util.PrimitiveIterator$OfInt of java.util.PrimitiveIterator
public abstract OfInt = java.util.Spliterator$OfInt of java.util.Spliterator
Adapter = java.util.Spliterators$2Adapter