final class com.google.common.collect.TreeTraverser$BreadthFirstIterator extends com.google.common.collect.UnmodifiableIterator<T> implements com.google.common.collect.PeekingIterator<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.collect.TreeTraverser$BreadthFirstIterator
super_class: com.google.common.collect.UnmodifiableIterator
{
private final java.util.Queue<T> queue;
descriptor: Ljava/util/Queue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Queue<TT;>;
final com.google.common.collect.TreeTraverser this$0;
descriptor: Lcom/google/common/collect/TreeTraverser;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>();
descriptor: (Lcom/google/common/collect/TreeTraverser;Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield com.google.common.collect.TreeTraverser$BreadthFirstIterator.this$0:Lcom/google/common/collect/TreeTraverser;
aload 0
invokespecial com.google.common.collect.UnmodifiableIterator.<init>:()V
1: aload 0
new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
putfield com.google.common.collect.TreeTraverser$BreadthFirstIterator.queue:Ljava/util/Queue;
2: aload 0
getfield com.google.common.collect.TreeTraverser$BreadthFirstIterator.queue:Ljava/util/Queue;
aload 2
invokeinterface java.util.Queue.add:(Ljava/lang/Object;)Z
pop
3: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/collect/TreeTraverser$BreadthFirstIterator;
0 4 2 root TT;
Signature: (TT;)V
MethodParameters:
Name Flags
this$0 final
root
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.TreeTraverser$BreadthFirstIterator.queue:Ljava/util/Queue;
invokeinterface java.util.Queue.isEmpty:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/TreeTraverser$BreadthFirstIterator;
public T peek();
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.TreeTraverser$BreadthFirstIterator.queue:Ljava/util/Queue;
invokeinterface java.util.Queue.element:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/TreeTraverser$BreadthFirstIterator;
Signature: ()TT;
public T next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.TreeTraverser$BreadthFirstIterator.queue:Ljava/util/Queue;
invokeinterface java.util.Queue.remove:()Ljava/lang/Object;
astore 1
start local 1 1: aload 0
getfield com.google.common.collect.TreeTraverser$BreadthFirstIterator.queue:Ljava/util/Queue;
aload 0
getfield com.google.common.collect.TreeTraverser$BreadthFirstIterator.this$0:Lcom/google/common/collect/TreeTraverser;
aload 1
invokevirtual com.google.common.collect.TreeTraverser.children:(Ljava/lang/Object;)Ljava/lang/Iterable;
invokestatic com.google.common.collect.Iterables.addAll:(Ljava/util/Collection;Ljava/lang/Iterable;)Z
pop
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/TreeTraverser$BreadthFirstIterator;
1 3 1 result TT;
Signature: ()TT;
}
Signature: Lcom/google/common/collect/UnmodifiableIterator<TT;>;Lcom/google/common/collect/PeekingIterator<TT;>;
SourceFile: "TreeTraverser.java"
NestHost: com.google.common.collect.TreeTraverser
InnerClasses:
private final BreadthFirstIterator = com.google.common.collect.TreeTraverser$BreadthFirstIterator of com.google.common.collect.TreeTraverser