abstract class com.google.common.graph.AbstractDirectedNetworkConnections<N, E> implements com.google.common.graph.NetworkConnections<N, E>
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.google.common.graph.AbstractDirectedNetworkConnections
super_class: java.lang.Object
{
protected final java.util.Map<E, N> inEdgeMap;
descriptor: Ljava/util/Map;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/Map<TE;TN;>;
protected final java.util.Map<E, N> outEdgeMap;
descriptor: Ljava/util/Map;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/Map<TE;TN;>;
private int selfLoopCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
protected void <init>(java.util.Map<E, N>, java.util.Map<E, N>, );
descriptor: (Ljava/util/Map;Ljava/util/Map;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
putfield com.google.common.graph.AbstractDirectedNetworkConnections.inEdgeMap:Ljava/util/Map;
2: aload 0
aload 2
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
putfield com.google.common.graph.AbstractDirectedNetworkConnections.outEdgeMap:Ljava/util/Map;
3: aload 0
iload 3
invokestatic com.google.common.graph.Graphs.checkNonNegative:(I)I
putfield com.google.common.graph.AbstractDirectedNetworkConnections.selfLoopCount:I
4: iload 3
aload 1
invokeinterface java.util.Map.size:()I
if_icmpgt 5
iload 3
aload 2
invokeinterface java.util.Map.size:()I
if_icmpgt 5
iconst_1
goto 6
StackMap locals: com.google.common.graph.AbstractDirectedNetworkConnections java.util.Map java.util.Map int
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: invokestatic com.google.common.base.Preconditions.checkState:(Z)V
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/common/graph/AbstractDirectedNetworkConnections<TN;TE;>;
0 8 1 inEdgeMap Ljava/util/Map<TE;TN;>;
0 8 2 outEdgeMap Ljava/util/Map<TE;TN;>;
0 8 3 selfLoopCount I
Signature: (Ljava/util/Map<TE;TN;>;Ljava/util/Map<TE;TN;>;I)V
MethodParameters:
Name Flags
inEdgeMap
outEdgeMap
selfLoopCount
public java.util.Set<N> adjacentNodes();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.graph.AbstractDirectedNetworkConnections.predecessors:()Ljava/util/Set;
aload 0
invokevirtual com.google.common.graph.AbstractDirectedNetworkConnections.successors:()Ljava/util/Set;
invokestatic com.google.common.collect.Sets.union:(Ljava/util/Set;Ljava/util/Set;)Lcom/google/common/collect/Sets$SetView;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/graph/AbstractDirectedNetworkConnections<TN;TE;>;
Signature: ()Ljava/util/Set<TN;>;
public java.util.Set<E> incidentEdges();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.graph.AbstractDirectedNetworkConnections$1
dup
aload 0
invokespecial com.google.common.graph.AbstractDirectedNetworkConnections$1.<init>:(Lcom/google/common/graph/AbstractDirectedNetworkConnections;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/graph/AbstractDirectedNetworkConnections<TN;TE;>;
Signature: ()Ljava/util/Set<TE;>;
public java.util.Set<E> inEdges();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.graph.AbstractDirectedNetworkConnections.inEdgeMap:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/graph/AbstractDirectedNetworkConnections<TN;TE;>;
Signature: ()Ljava/util/Set<TE;>;
public java.util.Set<E> outEdges();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.graph.AbstractDirectedNetworkConnections.outEdgeMap:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/graph/AbstractDirectedNetworkConnections<TN;TE;>;
Signature: ()Ljava/util/Set<TE;>;
public N adjacentNode();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.graph.AbstractDirectedNetworkConnections.outEdgeMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/graph/AbstractDirectedNetworkConnections<TN;TE;>;
0 1 1 edge TE;
Signature: (TE;)TN;
MethodParameters:
Name Flags
edge
public N removeInEdge(E, );
descriptor: (Ljava/lang/Object;Z)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifeq 2
1: aload 0
dup
getfield com.google.common.graph.AbstractDirectedNetworkConnections.selfLoopCount:I
iconst_1
isub
dup_x1
putfield com.google.common.graph.AbstractDirectedNetworkConnections.selfLoopCount:I
invokestatic com.google.common.graph.Graphs.checkNonNegative:(I)I
pop
2: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.graph.AbstractDirectedNetworkConnections.inEdgeMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 3: aload 3
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/graph/AbstractDirectedNetworkConnections<TN;TE;>;
0 4 1 edge TE;
0 4 2 isSelfLoop Z
3 4 3 previousNode TN;
Signature: (TE;Z)TN;
MethodParameters:
Name Flags
edge
isSelfLoop
public N removeOutEdge();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.graph.AbstractDirectedNetworkConnections.outEdgeMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/graph/AbstractDirectedNetworkConnections<TN;TE;>;
0 2 1 edge TE;
1 2 2 previousNode TN;
Signature: (TE;)TN;
MethodParameters:
Name Flags
edge
public void addInEdge(E, N, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
ifeq 2
1: aload 0
dup
getfield com.google.common.graph.AbstractDirectedNetworkConnections.selfLoopCount:I
iconst_1
iadd
dup_x1
putfield com.google.common.graph.AbstractDirectedNetworkConnections.selfLoopCount:I
invokestatic com.google.common.graph.Graphs.checkPositive:(I)I
pop
2: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.graph.AbstractDirectedNetworkConnections.inEdgeMap:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 3: aload 4
ifnonnull 4
iconst_1
goto 5
StackMap locals: java.lang.Object
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: invokestatic com.google.common.base.Preconditions.checkState:(Z)V
6: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/graph/AbstractDirectedNetworkConnections<TN;TE;>;
0 7 1 edge TE;
0 7 2 node TN;
0 7 3 isSelfLoop Z
3 7 4 previousNode TN;
Signature: (TE;TN;Z)V
MethodParameters:
Name Flags
edge
node
isSelfLoop
public void addOutEdge(E, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.google.common.graph.AbstractDirectedNetworkConnections.outEdgeMap:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 1: aload 3
ifnonnull 2
iconst_1
goto 3
StackMap locals: java.lang.Object
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: invokestatic com.google.common.base.Preconditions.checkState:(Z)V
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/graph/AbstractDirectedNetworkConnections<TN;TE;>;
0 5 1 edge TE;
0 5 2 node TN;
1 5 3 previousNode TN;
Signature: (TE;TN;)V
MethodParameters:
Name Flags
edge
node
}
Signature: <N:Ljava/lang/Object;E:Ljava/lang/Object;>Ljava/lang/Object;Lcom/google/common/graph/NetworkConnections<TN;TE;>;
SourceFile: "AbstractDirectedNetworkConnections.java"
NestMembers:
com.google.common.graph.AbstractDirectedNetworkConnections$1
InnerClasses:
public abstract SetView = com.google.common.collect.Sets$SetView of com.google.common.collect.Sets
com.google.common.graph.AbstractDirectedNetworkConnections$1