class com.google.common.collect.ConsumingQueueIterator<T> extends com.google.common.collect.AbstractIterator<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.google.common.collect.ConsumingQueueIterator
super_class: com.google.common.collect.AbstractIterator
{
private final java.util.Queue<T> queue;
descriptor: Ljava/util/Queue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Queue<TT;>;
void <init>();
descriptor: ([Ljava/lang/Object;)V
flags: (0x0080) ACC_VARARGS
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.google.common.collect.AbstractIterator.<init>:()V
1: aload 0
new java.util.ArrayDeque
dup
aload 1
arraylength
invokespecial java.util.ArrayDeque.<init>:(I)V
putfield com.google.common.collect.ConsumingQueueIterator.queue:Ljava/util/Queue;
2: aload 0
getfield com.google.common.collect.ConsumingQueueIterator.queue:Ljava/util/Queue;
aload 1
invokestatic java.util.Collections.addAll:(Ljava/util/Collection;[Ljava/lang/Object;)Z
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/collect/ConsumingQueueIterator<TT;>;
0 4 1 elements [Ljava/lang/Object;
Signature: ([TT;)V
MethodParameters:
Name Flags
elements
void <init>(java.util.Queue<T>);
descriptor: (Ljava/util/Queue;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.google.common.collect.AbstractIterator.<init>:()V
1: aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Queue
putfield com.google.common.collect.ConsumingQueueIterator.queue:Ljava/util/Queue;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/ConsumingQueueIterator<TT;>;
0 3 1 queue Ljava/util/Queue<TT;>;
Signature: (Ljava/util/Queue<TT;>;)V
MethodParameters:
Name Flags
queue
public T computeNext();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.ConsumingQueueIterator.queue:Ljava/util/Queue;
invokeinterface java.util.Queue.isEmpty:()Z
ifeq 1
aload 0
invokevirtual com.google.common.collect.ConsumingQueueIterator.endOfData:()Ljava/lang/Object;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.google.common.collect.ConsumingQueueIterator.queue:Ljava/util/Queue;
invokeinterface java.util.Queue.remove:()Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/ConsumingQueueIterator<TT;>;
Signature: ()TT;
}
Signature: <T:Ljava/lang/Object;>Lcom/google/common/collect/AbstractIterator<TT;>;
SourceFile: "ConsumingQueueIterator.java"
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible()