abstract class com.google.common.graph.AbstractBaseGraph<N> implements com.google.common.graph.BaseGraph<N>
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.google.common.graph.AbstractBaseGraph
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/graph/AbstractBaseGraph<TN;>;
protected long edgeCount();
descriptor: ()J
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
invokevirtual com.google.common.graph.AbstractBaseGraph.nodes:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: com.google.common.graph.AbstractBaseGraph long top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 3
start local 3 3: lload 1
aload 0
aload 3
invokevirtual com.google.common.graph.AbstractBaseGraph.degree:(Ljava/lang/Object;)I
i2l
ladd
lstore 1
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: lload 1
lconst_1
land
lconst_0
lcmp
ifne 6
iconst_1
goto 7
StackMap locals: com.google.common.graph.AbstractBaseGraph long
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: invokestatic com.google.common.base.Preconditions.checkState:(Z)V
8: lload 1
iconst_1
lushr
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/google/common/graph/AbstractBaseGraph<TN;>;
1 9 1 degreeSum J
3 4 3 node TN;
public java.util.Set<com.google.common.graph.EndpointPair<N>> edges();
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.AbstractBaseGraph$1
dup
aload 0
invokespecial com.google.common.graph.AbstractBaseGraph$1.<init>:(Lcom/google/common/graph/AbstractBaseGraph;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/graph/AbstractBaseGraph<TN;>;
Signature: ()Ljava/util/Set<Lcom/google/common/graph/EndpointPair<TN;>;>;
public java.util.Set<com.google.common.graph.EndpointPair<N>> incidentEdges(N);
descriptor: (Ljava/lang/Object;)Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual com.google.common.graph.AbstractBaseGraph.nodes:()Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ldc "Node %s is not an element of this graph."
aload 1
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;Ljava/lang/Object;)V
2: aload 0
aload 1
invokestatic com.google.common.graph.AbstractBaseGraph$IncidentEdgeSet.of:(Lcom/google/common/graph/BaseGraph;Ljava/lang/Object;)Lcom/google/common/graph/AbstractBaseGraph$IncidentEdgeSet;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/graph/AbstractBaseGraph<TN;>;
0 3 1 node TN;
Signature: (TN;)Ljava/util/Set<Lcom/google/common/graph/EndpointPair<TN;>;>;
MethodParameters:
Name Flags
node
public int degree();
descriptor: (Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.common.graph.AbstractBaseGraph.isDirected:()Z
ifeq 2
1: aload 0
aload 1
invokevirtual com.google.common.graph.AbstractBaseGraph.predecessors:(Ljava/lang/Object;)Ljava/util/Set;
invokeinterface java.util.Set.size:()I
aload 0
aload 1
invokevirtual com.google.common.graph.AbstractBaseGraph.successors:(Ljava/lang/Object;)Ljava/util/Set;
invokeinterface java.util.Set.size:()I
invokestatic com.google.common.math.IntMath.saturatedAdd:(II)I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.google.common.graph.AbstractBaseGraph.adjacentNodes:(Ljava/lang/Object;)Ljava/util/Set;
astore 2
start local 2 3: aload 0
invokevirtual com.google.common.graph.AbstractBaseGraph.allowsSelfLoops:()Z
ifeq 4
aload 2
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 4
iconst_1
goto 5
StackMap locals: java.util.Set
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 3
start local 3 6: aload 2
invokeinterface java.util.Set.size:()I
iload 3
invokestatic com.google.common.math.IntMath.saturatedAdd:(II)I
ireturn
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/AbstractBaseGraph<TN;>;
0 7 1 node TN;
3 7 2 neighbors Ljava/util/Set<TN;>;
6 7 3 selfLoopCount I
Signature: (TN;)I
MethodParameters:
Name Flags
node
public int inDegree();
descriptor: (Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.common.graph.AbstractBaseGraph.isDirected:()Z
ifeq 1
aload 0
aload 1
invokevirtual com.google.common.graph.AbstractBaseGraph.predecessors:(Ljava/lang/Object;)Ljava/util/Set;
invokeinterface java.util.Set.size:()I
goto 2
StackMap locals:
StackMap stack:
1: aload 0
aload 1
invokevirtual com.google.common.graph.AbstractBaseGraph.degree:(Ljava/lang/Object;)I
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/graph/AbstractBaseGraph<TN;>;
0 3 1 node TN;
Signature: (TN;)I
MethodParameters:
Name Flags
node
public int outDegree();
descriptor: (Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.common.graph.AbstractBaseGraph.isDirected:()Z
ifeq 1
aload 0
aload 1
invokevirtual com.google.common.graph.AbstractBaseGraph.successors:(Ljava/lang/Object;)Ljava/util/Set;
invokeinterface java.util.Set.size:()I
goto 2
StackMap locals:
StackMap stack:
1: aload 0
aload 1
invokevirtual com.google.common.graph.AbstractBaseGraph.degree:(Ljava/lang/Object;)I
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/graph/AbstractBaseGraph<TN;>;
0 3 1 node TN;
Signature: (TN;)I
MethodParameters:
Name Flags
node
public boolean hasEdgeConnecting(N, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 2
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
invokevirtual com.google.common.graph.AbstractBaseGraph.nodes:()Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 3
aload 0
aload 1
invokevirtual com.google.common.graph.AbstractBaseGraph.successors:(Ljava/lang/Object;)Ljava/util/Set;
aload 2
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/graph/AbstractBaseGraph<TN;>;
0 4 1 nodeU TN;
0 4 2 nodeV TN;
Signature: (TN;TN;)Z
MethodParameters:
Name Flags
nodeU
nodeV
}
Signature: <N:Ljava/lang/Object;>Ljava/lang/Object;Lcom/google/common/graph/BaseGraph<TN;>;
SourceFile: "AbstractBaseGraph.java"
NestMembers:
com.google.common.graph.AbstractBaseGraph$1 com.google.common.graph.AbstractBaseGraph$IncidentEdgeSet com.google.common.graph.AbstractBaseGraph$IncidentEdgeSet$Directed com.google.common.graph.AbstractBaseGraph$IncidentEdgeSet$Directed$1 com.google.common.graph.AbstractBaseGraph$IncidentEdgeSet$Directed$2 com.google.common.graph.AbstractBaseGraph$IncidentEdgeSet$Undirected com.google.common.graph.AbstractBaseGraph$IncidentEdgeSet$Undirected$1
InnerClasses:
com.google.common.graph.AbstractBaseGraph$1
private abstract IncidentEdgeSet = com.google.common.graph.AbstractBaseGraph$IncidentEdgeSet of com.google.common.graph.AbstractBaseGraph