public final class com.google.common.graph.ImmutableValueGraph<N, V> extends com.google.common.graph.ConfigurableValueGraph<N, V>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.graph.ImmutableValueGraph
super_class: com.google.common.graph.ConfigurableValueGraph
{
private void <init>(com.google.common.graph.ValueGraph<N, V>);
descriptor: (Lcom/google/common/graph/ValueGraph;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.google.common.graph.ValueGraphBuilder.from:(Lcom/google/common/graph/ValueGraph;)Lcom/google/common/graph/ValueGraphBuilder;
aload 1
invokestatic com.google.common.graph.ImmutableValueGraph.getNodeConnections:(Lcom/google/common/graph/ValueGraph;)Lcom/google/common/collect/ImmutableMap;
aload 1
invokeinterface com.google.common.graph.ValueGraph.edges:()Ljava/util/Set;
invokeinterface java.util.Set.size:()I
i2l
invokespecial com.google.common.graph.ConfigurableValueGraph.<init>:(Lcom/google/common/graph/AbstractGraphBuilder;Ljava/util/Map;J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/graph/ImmutableValueGraph<TN;TV;>;
0 2 1 graph Lcom/google/common/graph/ValueGraph<TN;TV;>;
Signature: (Lcom/google/common/graph/ValueGraph<TN;TV;>;)V
MethodParameters:
Name Flags
graph
public static <N, V> com.google.common.graph.ImmutableValueGraph<N, V> copyOf(com.google.common.graph.ValueGraph<N, V>);
descriptor: (Lcom/google/common/graph/ValueGraph;)Lcom/google/common/graph/ImmutableValueGraph;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
instanceof com.google.common.graph.ImmutableValueGraph
ifeq 2
1: aload 0
checkcast com.google.common.graph.ImmutableValueGraph
goto 3
2: StackMap locals:
StackMap stack:
new com.google.common.graph.ImmutableValueGraph
dup
aload 0
invokespecial com.google.common.graph.ImmutableValueGraph.<init>:(Lcom/google/common/graph/ValueGraph;)V
3: StackMap locals:
StackMap stack: com.google.common.graph.ImmutableValueGraph
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 graph Lcom/google/common/graph/ValueGraph<TN;TV;>;
Signature: <N:Ljava/lang/Object;V:Ljava/lang/Object;>(Lcom/google/common/graph/ValueGraph<TN;TV;>;)Lcom/google/common/graph/ImmutableValueGraph<TN;TV;>;
MethodParameters:
Name Flags
graph
public static <N, V> com.google.common.graph.ImmutableValueGraph<N, V> copyOf(com.google.common.graph.ImmutableValueGraph<N, V>);
descriptor: (Lcom/google/common/graph/ImmutableValueGraph;)Lcom/google/common/graph/ImmutableValueGraph;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.common.graph.ImmutableValueGraph
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 graph Lcom/google/common/graph/ImmutableValueGraph<TN;TV;>;
Signature: <N:Ljava/lang/Object;V:Ljava/lang/Object;>(Lcom/google/common/graph/ImmutableValueGraph<TN;TV;>;)Lcom/google/common/graph/ImmutableValueGraph<TN;TV;>;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
graph
public com.google.common.graph.ImmutableGraph<N> asGraph();
descriptor: ()Lcom/google/common/graph/ImmutableGraph;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.graph.ImmutableGraph
dup
aload 0
invokespecial com.google.common.graph.ImmutableGraph.<init>:(Lcom/google/common/graph/BaseGraph;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/graph/ImmutableValueGraph<TN;TV;>;
Signature: ()Lcom/google/common/graph/ImmutableGraph<TN;>;
private static <N, V> com.google.common.collect.ImmutableMap<N, com.google.common.graph.GraphConnections<N, V>> getNodeConnections(com.google.common.graph.ValueGraph<N, V>);
descriptor: (Lcom/google/common/graph/ValueGraph;)Lcom/google/common/collect/ImmutableMap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: invokestatic com.google.common.collect.ImmutableMap.builder:()Lcom/google/common/collect/ImmutableMap$Builder;
astore 1
start local 1 1: aload 0
invokeinterface com.google.common.graph.ValueGraph.nodes:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: com.google.common.graph.ValueGraph com.google.common.collect.ImmutableMap$Builder top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 2
start local 2 3: aload 1
aload 2
aload 0
aload 2
invokestatic com.google.common.graph.ImmutableValueGraph.connectionsOf:(Lcom/google/common/graph/ValueGraph;Ljava/lang/Object;)Lcom/google/common/graph/GraphConnections;
invokevirtual com.google.common.collect.ImmutableMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder;
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
invokevirtual com.google.common.collect.ImmutableMap$Builder.build:()Lcom/google/common/collect/ImmutableMap;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 graph Lcom/google/common/graph/ValueGraph<TN;TV;>;
1 6 1 nodeConnections Lcom/google/common/collect/ImmutableMap$Builder<TN;Lcom/google/common/graph/GraphConnections<TN;TV;>;>;
3 4 2 node TN;
Signature: <N:Ljava/lang/Object;V:Ljava/lang/Object;>(Lcom/google/common/graph/ValueGraph<TN;TV;>;)Lcom/google/common/collect/ImmutableMap<TN;Lcom/google/common/graph/GraphConnections<TN;TV;>;>;
MethodParameters:
Name Flags
graph
private static <N, V> com.google.common.graph.GraphConnections<N, V> connectionsOf(com.google.common.graph.ValueGraph<N, V>, N);
descriptor: (Lcom/google/common/graph/ValueGraph;Ljava/lang/Object;)Lcom/google/common/graph/GraphConnections;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new com.google.common.graph.ImmutableValueGraph$1
dup
aload 0
aload 1
invokespecial com.google.common.graph.ImmutableValueGraph$1.<init>:(Lcom/google/common/graph/ValueGraph;Ljava/lang/Object;)V
1: astore 2
start local 2 2: aload 0
invokeinterface com.google.common.graph.ValueGraph.isDirected:()Z
ifeq 6
3: aload 0
aload 1
invokeinterface com.google.common.graph.ValueGraph.predecessors:(Ljava/lang/Object;)Ljava/util/Set;
aload 0
aload 1
invokeinterface com.google.common.graph.ValueGraph.successors:(Ljava/lang/Object;)Ljava/util/Set;
aload 2
invokestatic com.google.common.collect.Maps.asMap:(Ljava/util/Set;Lcom/google/common/base/Function;)Ljava/util/Map;
4: invokestatic com.google.common.graph.DirectedGraphConnections.ofImmutable:(Ljava/util/Set;Ljava/util/Map;)Lcom/google/common/graph/DirectedGraphConnections;
5: goto 8
6: StackMap locals: com.google.common.base.Function
StackMap stack:
aload 0
aload 1
invokeinterface com.google.common.graph.ValueGraph.adjacentNodes:(Ljava/lang/Object;)Ljava/util/Set;
aload 2
invokestatic com.google.common.collect.Maps.asMap:(Ljava/util/Set;Lcom/google/common/base/Function;)Ljava/util/Map;
7: invokestatic com.google.common.graph.UndirectedGraphConnections.ofImmutable:(Ljava/util/Map;)Lcom/google/common/graph/UndirectedGraphConnections;
8: StackMap locals:
StackMap stack: com.google.common.graph.GraphConnections
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 graph Lcom/google/common/graph/ValueGraph<TN;TV;>;
0 9 1 node TN;
2 9 2 successorNodeToValueFn Lcom/google/common/base/Function<TN;TV;>;
Signature: <N:Ljava/lang/Object;V:Ljava/lang/Object;>(Lcom/google/common/graph/ValueGraph<TN;TV;>;TN;)Lcom/google/common/graph/GraphConnections<TN;TV;>;
MethodParameters:
Name Flags
graph final
node final
public java.lang.Object edgeValueOrDefault(java.lang.Object, java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
aload 3
invokespecial com.google.common.graph.ConfigurableValueGraph.edgeValueOrDefault:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
public int inDegree(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial com.google.common.graph.ConfigurableValueGraph.inDegree:(Ljava/lang/Object;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public int outDegree(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial com.google.common.graph.ConfigurableValueGraph.outDegree:(Ljava/lang/Object;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public java.util.Set nodes();
descriptor: ()Ljava/util/Set;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial com.google.common.graph.ConfigurableValueGraph.nodes:()Ljava/util/Set;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.util.Set predecessors(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/util/Set;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial com.google.common.graph.ConfigurableValueGraph.predecessors:(Ljava/lang/Object;)Ljava/util/Set;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.util.Set successors(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/util/Set;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial com.google.common.graph.ConfigurableValueGraph.successors:(Ljava/lang/Object;)Ljava/util/Set;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.util.Set incidentEdges(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/util/Set;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial com.google.common.graph.ConfigurableValueGraph.incidentEdges:(Ljava/lang/Object;)Ljava/util/Set;
areturn
LocalVariableTable:
Start End Slot Name Signature
public int degree(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial com.google.common.graph.ConfigurableValueGraph.degree:(Ljava/lang/Object;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public com.google.common.graph.Graph asGraph();
descriptor: ()Lcom/google/common/graph/Graph;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.google.common.graph.ImmutableValueGraph.asGraph:()Lcom/google/common/graph/ImmutableGraph;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.google.common.graph.ElementOrder nodeOrder();
descriptor: ()Lcom/google/common/graph/ElementOrder;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial com.google.common.graph.ConfigurableValueGraph.nodeOrder:()Lcom/google/common/graph/ElementOrder;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.util.Set edges();
descriptor: ()Ljava/util/Set;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial com.google.common.graph.ConfigurableValueGraph.edges:()Ljava/util/Set;
areturn
LocalVariableTable:
Start End Slot Name Signature
public boolean hasEdgeConnecting(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokespecial com.google.common.graph.ConfigurableValueGraph.hasEdgeConnecting:(Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public boolean allowsSelfLoops();
descriptor: ()Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial com.google.common.graph.ConfigurableValueGraph.allowsSelfLoops:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public boolean isDirected();
descriptor: ()Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial com.google.common.graph.ConfigurableValueGraph.isDirected:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public java.util.Set adjacentNodes(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/util/Set;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial com.google.common.graph.ConfigurableValueGraph.adjacentNodes:(Ljava/lang/Object;)Ljava/util/Set;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <N:Ljava/lang/Object;V:Ljava/lang/Object;>Lcom/google/common/graph/ConfigurableValueGraph<TN;TV;>;
SourceFile: "ImmutableValueGraph.java"
NestMembers:
com.google.common.graph.ImmutableValueGraph$1
InnerClasses:
public Builder = com.google.common.collect.ImmutableMap$Builder of com.google.common.collect.ImmutableMap
com.google.common.graph.ImmutableValueGraph$1
RuntimeVisibleAnnotations:
com.google.errorprone.annotations.Immutable(containerOf = {"N", "V"})
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()