abstract class com.google.common.graph.EndpointPairIterator<N> extends com.google.common.collect.AbstractIterator<com.google.common.graph.EndpointPair<N>>
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.google.common.graph.EndpointPairIterator
super_class: com.google.common.collect.AbstractIterator
{
private final com.google.common.graph.BaseGraph<N> graph;
descriptor: Lcom/google/common/graph/BaseGraph;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lcom/google/common/graph/BaseGraph<TN;>;
private final java.util.Iterator<N> nodeIterator;
descriptor: Ljava/util/Iterator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Iterator<TN;>;
protected N node;
descriptor: Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Signature: TN;
protected java.util.Iterator<N> successorIterator;
descriptor: Ljava/util/Iterator;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/Iterator<TN;>;
static <N> com.google.common.graph.EndpointPairIterator<N> of(com.google.common.graph.BaseGraph<N>);
descriptor: (Lcom/google/common/graph/BaseGraph;)Lcom/google/common/graph/EndpointPairIterator;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface com.google.common.graph.BaseGraph.isDirected:()Z
ifeq 1
new com.google.common.graph.EndpointPairIterator$Directed
dup
aload 0
invokespecial com.google.common.graph.EndpointPairIterator$Directed.<init>:(Lcom/google/common/graph/BaseGraph;)V
goto 2
StackMap locals:
StackMap stack:
1: new com.google.common.graph.EndpointPairIterator$Undirected
dup
aload 0
invokespecial com.google.common.graph.EndpointPairIterator$Undirected.<init>:(Lcom/google/common/graph/BaseGraph;)V
StackMap locals:
StackMap stack: com.google.common.graph.EndpointPairIterator
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 graph Lcom/google/common/graph/BaseGraph<TN;>;
Signature: <N:Ljava/lang/Object;>(Lcom/google/common/graph/BaseGraph<TN;>;)Lcom/google/common/graph/EndpointPairIterator<TN;>;
MethodParameters:
Name Flags
graph
private void <init>(com.google.common.graph.BaseGraph<N>);
descriptor: (Lcom/google/common/graph/BaseGraph;)V
flags: (0x0002) ACC_PRIVATE
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
aconst_null
putfield com.google.common.graph.EndpointPairIterator.node:Ljava/lang/Object;
2: aload 0
invokestatic com.google.common.collect.ImmutableSet.of:()Lcom/google/common/collect/ImmutableSet;
invokevirtual com.google.common.collect.ImmutableSet.iterator:()Lcom/google/common/collect/UnmodifiableIterator;
putfield com.google.common.graph.EndpointPairIterator.successorIterator:Ljava/util/Iterator;
3: aload 0
aload 1
putfield com.google.common.graph.EndpointPairIterator.graph:Lcom/google/common/graph/BaseGraph;
4: aload 0
aload 1
invokeinterface com.google.common.graph.BaseGraph.nodes:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
putfield com.google.common.graph.EndpointPairIterator.nodeIterator:Ljava/util/Iterator;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/graph/EndpointPairIterator<TN;>;
0 6 1 graph Lcom/google/common/graph/BaseGraph<TN;>;
Signature: (Lcom/google/common/graph/BaseGraph<TN;>;)V
MethodParameters:
Name Flags
graph
protected final boolean advance();
descriptor: ()Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.graph.EndpointPairIterator.successorIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: invokestatic com.google.common.base.Preconditions.checkState:(Z)V
3: aload 0
getfield com.google.common.graph.EndpointPairIterator.nodeIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.google.common.graph.EndpointPairIterator.nodeIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
putfield com.google.common.graph.EndpointPairIterator.node:Ljava/lang/Object;
6: aload 0
aload 0
getfield com.google.common.graph.EndpointPairIterator.graph:Lcom/google/common/graph/BaseGraph;
aload 0
getfield com.google.common.graph.EndpointPairIterator.node:Ljava/lang/Object;
invokeinterface com.google.common.graph.BaseGraph.successors:(Ljava/lang/Object;)Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
putfield com.google.common.graph.EndpointPairIterator.successorIterator:Ljava/util/Iterator;
7: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/common/graph/EndpointPairIterator<TN;>;
}
Signature: <N:Ljava/lang/Object;>Lcom/google/common/collect/AbstractIterator<Lcom/google/common/graph/EndpointPair<TN;>;>;
SourceFile: "EndpointPairIterator.java"
NestMembers:
com.google.common.graph.EndpointPairIterator$Directed com.google.common.graph.EndpointPairIterator$Undirected
InnerClasses:
private final Directed = com.google.common.graph.EndpointPairIterator$Directed of com.google.common.graph.EndpointPairIterator
private final Undirected = com.google.common.graph.EndpointPairIterator$Undirected of com.google.common.graph.EndpointPairIterator