final class com.google.common.graph.ConfigurableMutableValueGraph<N, V> extends com.google.common.graph.ConfigurableValueGraph<N, V> implements com.google.common.graph.MutableValueGraph<N, V>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.graph.ConfigurableMutableValueGraph
super_class: com.google.common.graph.ConfigurableValueGraph
{
void <init>(com.google.common.graph.AbstractGraphBuilder<? super N>);
descriptor: (Lcom/google/common/graph/AbstractGraphBuilder;)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.ConfigurableValueGraph.<init>:(Lcom/google/common/graph/AbstractGraphBuilder;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/graph/ConfigurableMutableValueGraph<TN;TV;>;
0 2 1 builder Lcom/google/common/graph/AbstractGraphBuilder<-TN;>;
Signature: (Lcom/google/common/graph/AbstractGraphBuilder<-TN;>;)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.ConfigurableMutableValueGraph.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.ConfigurableMutableValueGraph.addNodeInternal:(Ljava/lang/Object;)Lcom/google/common/graph/GraphConnections;
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/ConfigurableMutableValueGraph<TN;TV;>;
0 5 1 node TN;
Signature: (TN;)Z
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
node
private com.google.common.graph.GraphConnections<N, V> addNodeInternal(N);
descriptor: (Ljava/lang/Object;)Lcom/google/common/graph/GraphConnections;
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.ConfigurableMutableValueGraph.newConnections:()Lcom/google/common/graph/GraphConnections;
astore 2
start local 2 1: aload 0
getfield com.google.common.graph.ConfigurableMutableValueGraph.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.GraphConnections
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/ConfigurableMutableValueGraph<TN;TV;>;
0 5 1 node TN;
1 5 2 connections Lcom/google/common/graph/GraphConnections<TN;TV;>;
Signature: (TN;)Lcom/google/common/graph/GraphConnections<TN;TV;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
node
public V putEdgeValue(N, N, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
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 "value"
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
invokevirtual com.google.common.graph.ConfigurableMutableValueGraph.allowsSelfLoops:()Z
ifne 7
4: aload 1
aload 2
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 5
iconst_0
goto 6
StackMap locals:
StackMap stack:
5: iconst_1
StackMap locals:
StackMap stack: int
6: 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
7: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.graph.ConfigurableMutableValueGraph.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.GraphConnections
astore 4
start local 4 8: aload 4
ifnonnull 10
9: aload 0
aload 1
invokevirtual com.google.common.graph.ConfigurableMutableValueGraph.addNodeInternal:(Ljava/lang/Object;)Lcom/google/common/graph/GraphConnections;
astore 4
10: StackMap locals: com.google.common.graph.GraphConnections
StackMap stack:
aload 4
aload 2
aload 3
invokeinterface com.google.common.graph.GraphConnections.addSuccessor:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 11: aload 0
getfield com.google.common.graph.ConfigurableMutableValueGraph.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.GraphConnections
astore 6
start local 6 12: aload 6
ifnonnull 14
13: aload 0
aload 2
invokevirtual com.google.common.graph.ConfigurableMutableValueGraph.addNodeInternal:(Ljava/lang/Object;)Lcom/google/common/graph/GraphConnections;
astore 6
14: StackMap locals: java.lang.Object com.google.common.graph.GraphConnections
StackMap stack:
aload 6
aload 1
aload 3
invokeinterface com.google.common.graph.GraphConnections.addPredecessor:(Ljava/lang/Object;Ljava/lang/Object;)V
15: aload 5
ifnonnull 17
16: aload 0
dup
getfield com.google.common.graph.ConfigurableMutableValueGraph.edgeCount:J
lconst_1
ladd
dup2_x1
putfield com.google.common.graph.ConfigurableMutableValueGraph.edgeCount:J
invokestatic com.google.common.graph.Graphs.checkPositive:(J)J
pop2
17: StackMap locals:
StackMap stack:
aload 5
areturn
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 18 0 this Lcom/google/common/graph/ConfigurableMutableValueGraph<TN;TV;>;
0 18 1 nodeU TN;
0 18 2 nodeV TN;
0 18 3 value TV;
8 18 4 connectionsU Lcom/google/common/graph/GraphConnections<TN;TV;>;
11 18 5 previousValue TV;
12 18 6 connectionsV Lcom/google/common/graph/GraphConnections<TN;TV;>;
Signature: (TN;TN;TV;)TV;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
nodeU
nodeV
value
public boolean removeNode();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, 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.ConfigurableMutableValueGraph.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.GraphConnections
astore 2
start local 2 2: aload 2
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals: com.google.common.graph.GraphConnections
StackMap stack:
aload 0
invokevirtual com.google.common.graph.ConfigurableMutableValueGraph.allowsSelfLoops:()Z
ifeq 8
5: aload 2
aload 1
invokeinterface com.google.common.graph.GraphConnections.removeSuccessor:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 8
6: aload 2
aload 1
invokeinterface com.google.common.graph.GraphConnections.removePredecessor:(Ljava/lang/Object;)V
7: aload 0
dup
getfield com.google.common.graph.ConfigurableMutableValueGraph.edgeCount:J
lconst_1
lsub
putfield com.google.common.graph.ConfigurableMutableValueGraph.edgeCount:J
8: StackMap locals:
StackMap stack:
aload 2
invokeinterface com.google.common.graph.GraphConnections.successors:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 12
StackMap locals: com.google.common.graph.ConfigurableMutableValueGraph java.lang.Object com.google.common.graph.GraphConnections top java.util.Iterator
StackMap stack:
9: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 3
start local 3 10: aload 0
getfield com.google.common.graph.ConfigurableMutableValueGraph.nodeConnections:Lcom/google/common/graph/MapIteratorCache;
aload 3
invokevirtual com.google.common.graph.MapIteratorCache.getWithoutCaching:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.common.graph.GraphConnections
aload 1
invokeinterface com.google.common.graph.GraphConnections.removePredecessor:(Ljava/lang/Object;)V
11: aload 0
dup
getfield com.google.common.graph.ConfigurableMutableValueGraph.edgeCount:J
lconst_1
lsub
putfield com.google.common.graph.ConfigurableMutableValueGraph.edgeCount:J
end local 3 12: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
13: aload 0
invokevirtual com.google.common.graph.ConfigurableMutableValueGraph.isDirected:()Z
ifeq 21
14: aload 2
invokeinterface com.google.common.graph.GraphConnections.predecessors:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 20
StackMap locals:
StackMap stack:
15: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 3
start local 3 16: aload 0
getfield com.google.common.graph.ConfigurableMutableValueGraph.nodeConnections:Lcom/google/common/graph/MapIteratorCache;
aload 3
invokevirtual com.google.common.graph.MapIteratorCache.getWithoutCaching:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.common.graph.GraphConnections
aload 1
invokeinterface com.google.common.graph.GraphConnections.removeSuccessor:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 17
iconst_1
goto 18
StackMap locals: com.google.common.graph.ConfigurableMutableValueGraph java.lang.Object com.google.common.graph.GraphConnections java.lang.Object java.util.Iterator
StackMap stack:
17: iconst_0
StackMap locals:
StackMap stack: int
18: invokestatic com.google.common.base.Preconditions.checkState:(Z)V
19: aload 0
dup
getfield com.google.common.graph.ConfigurableMutableValueGraph.edgeCount:J
lconst_1
lsub
putfield com.google.common.graph.ConfigurableMutableValueGraph.edgeCount:J
end local 3 20: StackMap locals: com.google.common.graph.ConfigurableMutableValueGraph java.lang.Object com.google.common.graph.GraphConnections top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
21: StackMap locals: com.google.common.graph.ConfigurableMutableValueGraph java.lang.Object com.google.common.graph.GraphConnections
StackMap stack:
aload 0
getfield com.google.common.graph.ConfigurableMutableValueGraph.nodeConnections:Lcom/google/common/graph/MapIteratorCache;
aload 1
invokevirtual com.google.common.graph.MapIteratorCache.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
22: aload 0
getfield com.google.common.graph.ConfigurableMutableValueGraph.edgeCount:J
invokestatic com.google.common.graph.Graphs.checkNonNegative:(J)J
pop2
23: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/google/common/graph/ConfigurableMutableValueGraph<TN;TV;>;
0 24 1 node TN;
2 24 2 connections Lcom/google/common/graph/GraphConnections<TN;TV;>;
10 12 3 successor TN;
16 20 3 predecessor TN;
Signature: (TN;)Z
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
node
public V removeEdge(N, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 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 0
getfield com.google.common.graph.ConfigurableMutableValueGraph.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.GraphConnections
astore 3
start local 3 3: aload 0
getfield com.google.common.graph.ConfigurableMutableValueGraph.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.GraphConnections
astore 4
start local 4 4: aload 3
ifnull 5
aload 4
ifnonnull 6
5: StackMap locals: com.google.common.graph.GraphConnections com.google.common.graph.GraphConnections
StackMap stack:
aconst_null
areturn
6: StackMap locals:
StackMap stack:
aload 3
aload 2
invokeinterface com.google.common.graph.GraphConnections.removeSuccessor:(Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 7: aload 5
ifnull 10
8: aload 4
aload 1
invokeinterface com.google.common.graph.GraphConnections.removePredecessor:(Ljava/lang/Object;)V
9: aload 0
dup
getfield com.google.common.graph.ConfigurableMutableValueGraph.edgeCount:J
lconst_1
lsub
dup2_x1
putfield com.google.common.graph.ConfigurableMutableValueGraph.edgeCount:J
invokestatic com.google.common.graph.Graphs.checkNonNegative:(J)J
pop2
10: StackMap locals: java.lang.Object
StackMap stack:
aload 5
areturn
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 11 0 this Lcom/google/common/graph/ConfigurableMutableValueGraph<TN;TV;>;
0 11 1 nodeU TN;
0 11 2 nodeV TN;
3 11 3 connectionsU Lcom/google/common/graph/GraphConnections<TN;TV;>;
4 11 4 connectionsV Lcom/google/common/graph/GraphConnections<TN;TV;>;
7 11 5 previousValue TV;
Signature: (TN;TN;)TV;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
nodeU
nodeV
private com.google.common.graph.GraphConnections<N, V> newConnections();
descriptor: ()Lcom/google/common/graph/GraphConnections;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.graph.ConfigurableMutableValueGraph.isDirected:()Z
ifeq 2
1: invokestatic com.google.common.graph.DirectedGraphConnections.of:()Lcom/google/common/graph/DirectedGraphConnections;
goto 3
2: StackMap locals:
StackMap stack:
invokestatic com.google.common.graph.UndirectedGraphConnections.of:()Lcom/google/common/graph/UndirectedGraphConnections;
3: StackMap locals:
StackMap stack: com.google.common.graph.GraphConnections
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/graph/ConfigurableMutableValueGraph<TN;TV;>;
Signature: ()Lcom/google/common/graph/GraphConnections<TN;TV;>;
}
Signature: <N:Ljava/lang/Object;V:Ljava/lang/Object;>Lcom/google/common/graph/ConfigurableValueGraph<TN;TV;>;Lcom/google/common/graph/MutableValueGraph<TN;TV;>;
SourceFile: "ConfigurableMutableValueGraph.java"