final class com.google.common.graph.ConfigurableMutableNetwork<N, E> extends com.google.common.graph.ConfigurableNetwork<N, E> implements com.google.common.graph.MutableNetwork<N, E>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.graph.ConfigurableMutableNetwork
super_class: com.google.common.graph.ConfigurableNetwork
{
void <init>(com.google.common.graph.NetworkBuilder<? super N, ? super E>);
descriptor: (Lcom/google/common/graph/NetworkBuilder;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.google.common.graph.ConfigurableNetwork.<init>:(Lcom/google/common/graph/NetworkBuilder;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/graph/ConfigurableMutableNetwork<TN;TE;>;
0 2 1 builder Lcom/google/common/graph/NetworkBuilder<-TN;-TE;>;
Signature: (Lcom/google/common/graph/NetworkBuilder<-TN;-TE;>;)V
MethodParameters:
Name Flags
builder
public boolean addNode();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "node"
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokevirtual com.google.common.graph.ConfigurableMutableNetwork.containsNode:(Ljava/lang/Object;)Z
ifeq 3
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.google.common.graph.ConfigurableMutableNetwork.addNodeInternal:(Ljava/lang/Object;)Lcom/google/common/graph/NetworkConnections;
pop
4: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/graph/ConfigurableMutableNetwork<TN;TE;>;
0 5 1 node TN;
Signature: (TN;)Z
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
node
private com.google.common.graph.NetworkConnections<N, E> addNodeInternal(N);
descriptor: (Ljava/lang/Object;)Lcom/google/common/graph/NetworkConnections;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.common.graph.ConfigurableMutableNetwork.newConnections:()Lcom/google/common/graph/NetworkConnections;
astore 2
start local 2 1: aload 0
getfield com.google.common.graph.ConfigurableMutableNetwork.nodeConnections:Lcom/google/common/graph/MapIteratorCache;
aload 1
aload 2
invokevirtual com.google.common.graph.MapIteratorCache.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 2
iconst_1
goto 3
StackMap locals: com.google.common.graph.NetworkConnections
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: invokestatic com.google.common.base.Preconditions.checkState:(Z)V
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/graph/ConfigurableMutableNetwork<TN;TE;>;
0 5 1 node TN;
1 5 2 connections Lcom/google/common/graph/NetworkConnections<TN;TE;>;
Signature: (TN;)Lcom/google/common/graph/NetworkConnections<TN;TE;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
node
public boolean addEdge(N, N, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ldc "nodeU"
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 2
ldc "nodeV"
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 3
ldc "edge"
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
aload 3
invokevirtual com.google.common.graph.ConfigurableMutableNetwork.containsEdge:(Ljava/lang/Object;)Z
ifeq 13
4: aload 0
aload 3
invokevirtual com.google.common.graph.ConfigurableMutableNetwork.incidentNodes:(Ljava/lang/Object;)Lcom/google/common/graph/EndpointPair;
astore 4
start local 4 5: aload 0
aload 1
aload 2
invokestatic com.google.common.graph.EndpointPair.of:(Lcom/google/common/graph/Network;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/graph/EndpointPair;
astore 5
start local 5 6: aload 4
aload 5
invokevirtual com.google.common.graph.EndpointPair.equals:(Ljava/lang/Object;)Z
7: ldc "Edge %s already exists between the following nodes: %s, so it cannot be reused to connect the following nodes: %s."
8: aload 3
9: aload 4
10: aload 5
11: invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
12: iconst_0
ireturn
end local 5 end local 4 13: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.graph.ConfigurableMutableNetwork.nodeConnections:Lcom/google/common/graph/MapIteratorCache;
aload 1
invokevirtual com.google.common.graph.MapIteratorCache.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.common.graph.NetworkConnections
astore 4
start local 4 14: aload 0
invokevirtual com.google.common.graph.ConfigurableMutableNetwork.allowsParallelEdges:()Z
ifne 21
15: aload 4
ifnull 16
aload 4
invokeinterface com.google.common.graph.NetworkConnections.successors:()Ljava/util/Set;
aload 2
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 16
iconst_0
goto 17
StackMap locals: com.google.common.graph.NetworkConnections
StackMap stack:
16: iconst_1
17: StackMap locals:
StackMap stack: int
ldc "Nodes %s and %s are already connected by a different edge. To construct a graph that allows parallel edges, call allowsParallelEdges(true) on the Builder."
18: aload 1
19: aload 2
20: invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
21: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
istore 5
start local 5 22: aload 0
invokevirtual com.google.common.graph.ConfigurableMutableNetwork.allowsSelfLoops:()Z
ifne 26
23: iload 5
ifeq 24
iconst_0
goto 25
StackMap locals: int
StackMap stack:
24: iconst_1
StackMap locals:
StackMap stack: int
25: ldc "Cannot add self-loop edge on node %s, as self-loops are not allowed. To construct a graph that allows self-loops, call allowsSelfLoops(true) on the Builder."
aload 1
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;Ljava/lang/Object;)V
26: StackMap locals:
StackMap stack:
aload 4
ifnonnull 28
27: aload 0
aload 1
invokevirtual com.google.common.graph.ConfigurableMutableNetwork.addNodeInternal:(Ljava/lang/Object;)Lcom/google/common/graph/NetworkConnections;
astore 4
28: StackMap locals:
StackMap stack:
aload 4
aload 3
aload 2
invokeinterface com.google.common.graph.NetworkConnections.addOutEdge:(Ljava/lang/Object;Ljava/lang/Object;)V
29: aload 0
getfield com.google.common.graph.ConfigurableMutableNetwork.nodeConnections:Lcom/google/common/graph/MapIteratorCache;
aload 2
invokevirtual com.google.common.graph.MapIteratorCache.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.common.graph.NetworkConnections
astore 6
start local 6 30: aload 6
ifnonnull 32
31: aload 0
aload 2
invokevirtual com.google.common.graph.ConfigurableMutableNetwork.addNodeInternal:(Ljava/lang/Object;)Lcom/google/common/graph/NetworkConnections;
astore 6
32: StackMap locals: com.google.common.graph.NetworkConnections
StackMap stack:
aload 6
aload 3
aload 1
iload 5
invokeinterface com.google.common.graph.NetworkConnections.addInEdge:(Ljava/lang/Object;Ljava/lang/Object;Z)V
33: aload 0
getfield com.google.common.graph.ConfigurableMutableNetwork.edgeToReferenceNode:Lcom/google/common/graph/MapIteratorCache;
aload 3
aload 1
invokevirtual com.google.common.graph.MapIteratorCache.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
34: iconst_1
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lcom/google/common/graph/ConfigurableMutableNetwork<TN;TE;>;
0 35 1 nodeU TN;
0 35 2 nodeV TN;
0 35 3 edge TE;
5 13 4 existingIncidentNodes Lcom/google/common/graph/EndpointPair<TN;>;
6 13 5 newIncidentNodes Lcom/google/common/graph/EndpointPair<TN;>;
14 35 4 connectionsU Lcom/google/common/graph/NetworkConnections<TN;TE;>;
22 35 5 isSelfLoop Z
30 35 6 connectionsV Lcom/google/common/graph/NetworkConnections<TN;TE;>;
Signature: (TN;TN;TE;)Z
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
nodeU
nodeV
edge
public boolean removeNode();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ldc "node"
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield com.google.common.graph.ConfigurableMutableNetwork.nodeConnections:Lcom/google/common/graph/MapIteratorCache;
aload 1
invokevirtual com.google.common.graph.MapIteratorCache.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.common.graph.NetworkConnections
astore 2
start local 2 2: aload 2
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals: com.google.common.graph.NetworkConnections
StackMap stack:
aload 2
invokeinterface com.google.common.graph.NetworkConnections.incidentEdges:()Ljava/util/Set;
invokestatic com.google.common.collect.ImmutableList.copyOf:(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;
invokevirtual com.google.common.collect.ImmutableList.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: com.google.common.graph.ConfigurableMutableNetwork java.lang.Object com.google.common.graph.NetworkConnections top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 3
start local 3 6: aload 0
aload 3
invokevirtual com.google.common.graph.ConfigurableMutableNetwork.removeEdge:(Ljava/lang/Object;)Z
pop
end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: aload 0
getfield com.google.common.graph.ConfigurableMutableNetwork.nodeConnections:Lcom/google/common/graph/MapIteratorCache;
aload 1
invokevirtual com.google.common.graph.MapIteratorCache.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
9: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/google/common/graph/ConfigurableMutableNetwork<TN;TE;>;
0 10 1 node TN;
2 10 2 connections Lcom/google/common/graph/NetworkConnections<TN;TE;>;
6 7 3 edge TE;
Signature: (TN;)Z
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
node
public boolean removeEdge();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ldc "edge"
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield com.google.common.graph.ConfigurableMutableNetwork.edgeToReferenceNode:Lcom/google/common/graph/MapIteratorCache;
aload 1
invokevirtual com.google.common.graph.MapIteratorCache.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 2: aload 2
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield com.google.common.graph.ConfigurableMutableNetwork.nodeConnections:Lcom/google/common/graph/MapIteratorCache;
aload 2
invokevirtual com.google.common.graph.MapIteratorCache.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.common.graph.NetworkConnections
astore 3
start local 3 5: aload 3
aload 1
invokeinterface com.google.common.graph.NetworkConnections.adjacentNode:(Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 6: aload 0
getfield com.google.common.graph.ConfigurableMutableNetwork.nodeConnections:Lcom/google/common/graph/MapIteratorCache;
aload 4
invokevirtual com.google.common.graph.MapIteratorCache.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.common.graph.NetworkConnections
astore 5
start local 5 7: aload 3
aload 1
invokeinterface com.google.common.graph.NetworkConnections.removeOutEdge:(Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 5
aload 1
aload 0
invokevirtual com.google.common.graph.ConfigurableMutableNetwork.allowsSelfLoops:()Z
ifeq 9
aload 2
aload 4
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 9
iconst_1
goto 10
StackMap locals: com.google.common.graph.ConfigurableMutableNetwork java.lang.Object java.lang.Object com.google.common.graph.NetworkConnections java.lang.Object com.google.common.graph.NetworkConnections
StackMap stack: com.google.common.graph.NetworkConnections java.lang.Object
9: iconst_0
StackMap locals: com.google.common.graph.ConfigurableMutableNetwork java.lang.Object java.lang.Object com.google.common.graph.NetworkConnections java.lang.Object com.google.common.graph.NetworkConnections
StackMap stack: com.google.common.graph.NetworkConnections java.lang.Object int
10: invokeinterface com.google.common.graph.NetworkConnections.removeInEdge:(Ljava/lang/Object;Z)Ljava/lang/Object;
pop
11: aload 0
getfield com.google.common.graph.ConfigurableMutableNetwork.edgeToReferenceNode:Lcom/google/common/graph/MapIteratorCache;
aload 1
invokevirtual com.google.common.graph.MapIteratorCache.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
12: iconst_1
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/google/common/graph/ConfigurableMutableNetwork<TN;TE;>;
0 13 1 edge TE;
2 13 2 nodeU TN;
5 13 3 connectionsU Lcom/google/common/graph/NetworkConnections<TN;TE;>;
6 13 4 nodeV TN;
7 13 5 connectionsV Lcom/google/common/graph/NetworkConnections<TN;TE;>;
Signature: (TE;)Z
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
edge
private com.google.common.graph.NetworkConnections<N, E> newConnections();
descriptor: ()Lcom/google/common/graph/NetworkConnections;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.graph.ConfigurableMutableNetwork.isDirected:()Z
ifeq 4
1: aload 0
invokevirtual com.google.common.graph.ConfigurableMutableNetwork.allowsParallelEdges:()Z
ifeq 3
2: invokestatic com.google.common.graph.DirectedMultiNetworkConnections.of:()Lcom/google/common/graph/DirectedMultiNetworkConnections;
goto 7
3: StackMap locals:
StackMap stack:
invokestatic com.google.common.graph.DirectedNetworkConnections.of:()Lcom/google/common/graph/DirectedNetworkConnections;
goto 7
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.google.common.graph.ConfigurableMutableNetwork.allowsParallelEdges:()Z
ifeq 6
5: invokestatic com.google.common.graph.UndirectedMultiNetworkConnections.of:()Lcom/google/common/graph/UndirectedMultiNetworkConnections;
goto 7
6: StackMap locals:
StackMap stack:
invokestatic com.google.common.graph.UndirectedNetworkConnections.of:()Lcom/google/common/graph/UndirectedNetworkConnections;
7: StackMap locals:
StackMap stack: com.google.common.graph.NetworkConnections
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/common/graph/ConfigurableMutableNetwork<TN;TE;>;
Signature: ()Lcom/google/common/graph/NetworkConnections<TN;TE;>;
}
Signature: <N:Ljava/lang/Object;E:Ljava/lang/Object;>Lcom/google/common/graph/ConfigurableNetwork<TN;TE;>;Lcom/google/common/graph/MutableNetwork<TN;TE;>;
SourceFile: "ConfigurableMutableNetwork.java"