final class java.util.concurrent.LinkedBlockingQueue$LBQSpliterator implements java.util.Spliterator<E>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: java.util.concurrent.LinkedBlockingQueue$LBQSpliterator
super_class: java.lang.Object
{
static final int MAX_BATCH;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 33554432
java.util.concurrent.LinkedBlockingQueue$Node<E> current;
descriptor: Ljava/util/concurrent/LinkedBlockingQueue$Node;
flags: (0x0000)
Signature: Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
int batch;
descriptor: I
flags: (0x0000)
boolean exhausted;
descriptor: Z
flags: (0x0000)
long est;
descriptor: J
flags: (0x0000)
final java.util.concurrent.LinkedBlockingQueue this$0;
descriptor: Ljava/util/concurrent/LinkedBlockingQueue;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(java.util.concurrent.LinkedBlockingQueue);
descriptor: (Ljava/util/concurrent/LinkedBlockingQueue;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.this$0:Ljava/util/concurrent/LinkedBlockingQueue;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokevirtual java.util.concurrent.LinkedBlockingQueue.size:()I
i2l
putfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.est:J
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/concurrent/LinkedBlockingQueue$LBQSpliterator;
MethodParameters:
Name Flags
this$0 final
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.concurrent.LinkedBlockingQueue$LBQSpliterator.est:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/concurrent/LinkedBlockingQueue$LBQSpliterator;
public java.util.Spliterator<E> trySplit();
descriptor: ()Ljava/util/Spliterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: aload 0
getfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.exhausted:Z
ifne 29
1: aload 0
getfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.current:Ljava/util/concurrent/LinkedBlockingQueue$Node;
dup
astore 1
start local 1 2: ifnonnull 3
aload 0
getfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.this$0:Ljava/util/concurrent/LinkedBlockingQueue;
getfield java.util.concurrent.LinkedBlockingQueue.head:Ljava/util/concurrent/LinkedBlockingQueue$Node;
getfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
dup
astore 1
ifnull 29
3: StackMap locals: java.util.concurrent.LinkedBlockingQueue$Node
StackMap stack:
aload 1
getfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
ifnull 29
4: aload 0
aload 0
getfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.batch:I
iconst_1
iadd
ldc 33554432
invokestatic java.lang.Math.min:(II)I
dup_x1
putfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.batch:I
istore 2
start local 2 5: iload 2
anewarray java.lang.Object
astore 3
start local 3 6: iconst_0
istore 4
start local 4 7: aload 0
getfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.current:Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 5
start local 5 8: aload 0
getfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.this$0:Ljava/util/concurrent/LinkedBlockingQueue;
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyLock:()V
9: aload 5
ifnonnull 14
aload 0
getfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.this$0:Ljava/util/concurrent/LinkedBlockingQueue;
getfield java.util.concurrent.LinkedBlockingQueue.head:Ljava/util/concurrent/LinkedBlockingQueue$Node;
getfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
dup
astore 5
ifnull 19
10: goto 14
11: StackMap locals: java.util.concurrent.LinkedBlockingQueue$LBQSpliterator java.util.concurrent.LinkedBlockingQueue$Node int java.lang.Object[] int java.util.concurrent.LinkedBlockingQueue$Node
StackMap stack:
aload 3
iload 4
aload 5
getfield java.util.concurrent.LinkedBlockingQueue$Node.item:Ljava/lang/Object;
dup_x2
aastore
ifnull 13
12: iinc 4 1
13: StackMap locals:
StackMap stack:
aload 0
getfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.this$0:Ljava/util/concurrent/LinkedBlockingQueue;
aload 5
invokevirtual java.util.concurrent.LinkedBlockingQueue.succ:(Ljava/util/concurrent/LinkedBlockingQueue$Node;)Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 5
StackMap locals:
StackMap stack:
14: aload 5
ifnull 19
iload 4
iload 2
if_icmplt 11
15: goto 19
StackMap locals:
StackMap stack: java.lang.Throwable
16: astore 6
17: aload 0
getfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.this$0:Ljava/util/concurrent/LinkedBlockingQueue;
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyUnlock:()V
18: aload 6
athrow
19: StackMap locals:
StackMap stack:
aload 0
getfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.this$0:Ljava/util/concurrent/LinkedBlockingQueue;
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyUnlock:()V
20: aload 0
aload 5
dup_x1
putfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.current:Ljava/util/concurrent/LinkedBlockingQueue$Node;
ifnonnull 24
21: aload 0
lconst_0
putfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.est:J
22: aload 0
iconst_1
putfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.exhausted:Z
23: goto 26
24: StackMap locals:
StackMap stack:
aload 0
dup
getfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.est:J
iload 4
i2l
lsub
dup2_x1
putfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.est:J
lconst_0
lcmp
ifge 26
25: aload 0
lconst_0
putfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.est:J
26: StackMap locals:
StackMap stack:
iload 4
ifle 29
27: aload 3
iconst_0
iload 4
sipush 4368
28: invokestatic java.util.Spliterators.spliterator:([Ljava/lang/Object;III)Ljava/util/Spliterator;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 29: StackMap locals: java.util.concurrent.LinkedBlockingQueue$LBQSpliterator
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Ljava/util/concurrent/LinkedBlockingQueue$LBQSpliterator;
2 29 1 h Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
5 29 2 n I
6 29 3 a [Ljava/lang/Object;
7 29 4 i I
8 29 5 p Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
Exception table:
from to target type
9 16 16 any
Signature: ()Ljava/util/Spliterator<TE;>;
public boolean tryAdvance(java.util.function.Consumer<? super E>);
descriptor: (Ljava/util/function/Consumer;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.exhausted:Z
ifne 19
2: aconst_null
astore 2
start local 2 3: aload 0
getfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.this$0:Ljava/util/concurrent/LinkedBlockingQueue;
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyLock:()V
4: aload 0
getfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.current:Ljava/util/concurrent/LinkedBlockingQueue$Node;
dup
astore 3
start local 3 5: ifnonnull 6
aload 0
getfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.this$0:Ljava/util/concurrent/LinkedBlockingQueue;
getfield java.util.concurrent.LinkedBlockingQueue.head:Ljava/util/concurrent/LinkedBlockingQueue$Node;
getfield java.util.concurrent.LinkedBlockingQueue$Node.next:Ljava/util/concurrent/LinkedBlockingQueue$Node;
dup
astore 3
ifnull 9
6: StackMap locals: java.lang.Object java.util.concurrent.LinkedBlockingQueue$Node
StackMap stack:
aload 3
getfield java.util.concurrent.LinkedBlockingQueue$Node.item:Ljava/lang/Object;
astore 2
7: aload 0
getfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.this$0:Ljava/util/concurrent/LinkedBlockingQueue;
aload 3
invokevirtual java.util.concurrent.LinkedBlockingQueue.succ:(Ljava/util/concurrent/LinkedBlockingQueue$Node;)Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 3
8: aload 2
ifnonnull 9
aload 3
ifnonnull 6
9: StackMap locals:
StackMap stack:
aload 0
aload 3
dup_x1
putfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.current:Ljava/util/concurrent/LinkedBlockingQueue$Node;
ifnonnull 15
10: aload 0
iconst_1
putfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.exhausted:Z
end local 3 11: goto 15
StackMap locals: java.util.concurrent.LinkedBlockingQueue$LBQSpliterator java.util.function.Consumer java.lang.Object
StackMap stack: java.lang.Throwable
12: astore 4
13: aload 0
getfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.this$0:Ljava/util/concurrent/LinkedBlockingQueue;
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyUnlock:()V
14: aload 4
athrow
15: StackMap locals:
StackMap stack:
aload 0
getfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.this$0:Ljava/util/concurrent/LinkedBlockingQueue;
invokevirtual java.util.concurrent.LinkedBlockingQueue.fullyUnlock:()V
16: aload 2
ifnull 19
17: aload 1
aload 2
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
18: iconst_1
ireturn
end local 2 19: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljava/util/concurrent/LinkedBlockingQueue$LBQSpliterator;
0 20 1 action Ljava/util/function/Consumer<-TE;>;
3 19 2 e TE;
5 11 3 p Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
Exception table:
from to target type
4 12 12 any
Signature: (Ljava/util/function/Consumer<-TE;>;)Z
MethodParameters:
Name Flags
action
public void forEachRemaining(java.util.function.Consumer<? super E>);
descriptor: (Ljava/util/function/Consumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.exhausted:Z
ifne 6
2: aload 0
iconst_1
putfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.exhausted:Z
3: aload 0
getfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.current:Ljava/util/concurrent/LinkedBlockingQueue$Node;
astore 2
start local 2 4: aload 0
aconst_null
putfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.current:Ljava/util/concurrent/LinkedBlockingQueue$Node;
5: aload 0
getfield java.util.concurrent.LinkedBlockingQueue$LBQSpliterator.this$0:Ljava/util/concurrent/LinkedBlockingQueue;
aload 1
aload 2
invokevirtual java.util.concurrent.LinkedBlockingQueue.forEachFrom:(Ljava/util/function/Consumer;Ljava/util/concurrent/LinkedBlockingQueue$Node;)V
end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/util/concurrent/LinkedBlockingQueue$LBQSpliterator;
0 7 1 action Ljava/util/function/Consumer<-TE;>;
4 6 2 p Ljava/util/concurrent/LinkedBlockingQueue$Node<TE;>;
Signature: (Ljava/util/function/Consumer<-TE;>;)V
MethodParameters:
Name Flags
action
public int characteristics();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: sipush 4368
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/concurrent/LinkedBlockingQueue$LBQSpliterator;
}
Signature: Ljava/lang/Object;Ljava/util/Spliterator<TE;>;
SourceFile: "LinkedBlockingQueue.java"
NestHost: java.util.concurrent.LinkedBlockingQueue
InnerClasses:
private final LBQSpliterator = java.util.concurrent.LinkedBlockingQueue$LBQSpliterator of java.util.concurrent.LinkedBlockingQueue
Node = java.util.concurrent.LinkedBlockingQueue$Node of java.util.concurrent.LinkedBlockingQueue