public final class com.google.common.graph.NetworkBuilder<N, E> extends com.google.common.graph.AbstractGraphBuilder<N>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.graph.NetworkBuilder
super_class: com.google.common.graph.AbstractGraphBuilder
{
boolean allowsParallelEdges;
descriptor: Z
flags: (0x0000)
com.google.common.graph.ElementOrder<? super E> edgeOrder;
descriptor: Lcom/google/common/graph/ElementOrder;
flags: (0x0000)
Signature: Lcom/google/common/graph/ElementOrder<-TE;>;
com.google.common.base.Optional<java.lang.Integer> expectedEdgeCount;
descriptor: Lcom/google/common/base/Optional;
flags: (0x0000)
Signature: Lcom/google/common/base/Optional<Ljava/lang/Integer;>;
private void <init>(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokespecial com.google.common.graph.AbstractGraphBuilder.<init>:(Z)V
1: aload 0
iconst_0
putfield com.google.common.graph.NetworkBuilder.allowsParallelEdges:Z
2: aload 0
invokestatic com.google.common.graph.ElementOrder.insertion:()Lcom/google/common/graph/ElementOrder;
putfield com.google.common.graph.NetworkBuilder.edgeOrder:Lcom/google/common/graph/ElementOrder;
3: aload 0
invokestatic com.google.common.base.Optional.absent:()Lcom/google/common/base/Optional;
putfield com.google.common.graph.NetworkBuilder.expectedEdgeCount:Lcom/google/common/base/Optional;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/graph/NetworkBuilder<TN;TE;>;
0 5 1 directed Z
MethodParameters:
Name Flags
directed
public static com.google.common.graph.NetworkBuilder<java.lang.Object, java.lang.Object> directed();
descriptor: ()Lcom/google/common/graph/NetworkBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new com.google.common.graph.NetworkBuilder
dup
iconst_1
invokespecial com.google.common.graph.NetworkBuilder.<init>:(Z)V
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Lcom/google/common/graph/NetworkBuilder<Ljava/lang/Object;Ljava/lang/Object;>;
public static com.google.common.graph.NetworkBuilder<java.lang.Object, java.lang.Object> undirected();
descriptor: ()Lcom/google/common/graph/NetworkBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new com.google.common.graph.NetworkBuilder
dup
iconst_0
invokespecial com.google.common.graph.NetworkBuilder.<init>:(Z)V
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Lcom/google/common/graph/NetworkBuilder<Ljava/lang/Object;Ljava/lang/Object;>;
public static <N, E> com.google.common.graph.NetworkBuilder<N, E> from(com.google.common.graph.Network<N, E>);
descriptor: (Lcom/google/common/graph/Network;)Lcom/google/common/graph/NetworkBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.graph.NetworkBuilder
dup
aload 0
invokeinterface com.google.common.graph.Network.isDirected:()Z
invokespecial com.google.common.graph.NetworkBuilder.<init>:(Z)V
1: aload 0
invokeinterface com.google.common.graph.Network.allowsParallelEdges:()Z
invokevirtual com.google.common.graph.NetworkBuilder.allowsParallelEdges:(Z)Lcom/google/common/graph/NetworkBuilder;
2: aload 0
invokeinterface com.google.common.graph.Network.allowsSelfLoops:()Z
invokevirtual com.google.common.graph.NetworkBuilder.allowsSelfLoops:(Z)Lcom/google/common/graph/NetworkBuilder;
3: aload 0
invokeinterface com.google.common.graph.Network.nodeOrder:()Lcom/google/common/graph/ElementOrder;
invokevirtual com.google.common.graph.NetworkBuilder.nodeOrder:(Lcom/google/common/graph/ElementOrder;)Lcom/google/common/graph/NetworkBuilder;
4: aload 0
invokeinterface com.google.common.graph.Network.edgeOrder:()Lcom/google/common/graph/ElementOrder;
invokevirtual com.google.common.graph.NetworkBuilder.edgeOrder:(Lcom/google/common/graph/ElementOrder;)Lcom/google/common/graph/NetworkBuilder;
5: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 network Lcom/google/common/graph/Network<TN;TE;>;
Signature: <N:Ljava/lang/Object;E:Ljava/lang/Object;>(Lcom/google/common/graph/Network<TN;TE;>;)Lcom/google/common/graph/NetworkBuilder<TN;TE;>;
MethodParameters:
Name Flags
network
public com.google.common.graph.NetworkBuilder<N, E> allowsParallelEdges(boolean);
descriptor: (Z)Lcom/google/common/graph/NetworkBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.google.common.graph.NetworkBuilder.allowsParallelEdges:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/graph/NetworkBuilder<TN;TE;>;
0 2 1 allowsParallelEdges Z
Signature: (Z)Lcom/google/common/graph/NetworkBuilder<TN;TE;>;
MethodParameters:
Name Flags
allowsParallelEdges
public com.google.common.graph.NetworkBuilder<N, E> allowsSelfLoops(boolean);
descriptor: (Z)Lcom/google/common/graph/NetworkBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.google.common.graph.NetworkBuilder.allowsSelfLoops:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/graph/NetworkBuilder<TN;TE;>;
0 2 1 allowsSelfLoops Z
Signature: (Z)Lcom/google/common/graph/NetworkBuilder<TN;TE;>;
MethodParameters:
Name Flags
allowsSelfLoops
public com.google.common.graph.NetworkBuilder<N, E> expectedNodeCount(int);
descriptor: (I)Lcom/google/common/graph/NetworkBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic com.google.common.graph.Graphs.checkNonNegative:(I)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokestatic com.google.common.base.Optional.of:(Ljava/lang/Object;)Lcom/google/common/base/Optional;
putfield com.google.common.graph.NetworkBuilder.expectedNodeCount:Lcom/google/common/base/Optional;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/graph/NetworkBuilder<TN;TE;>;
0 2 1 expectedNodeCount I
Signature: (I)Lcom/google/common/graph/NetworkBuilder<TN;TE;>;
MethodParameters:
Name Flags
expectedNodeCount
public com.google.common.graph.NetworkBuilder<N, E> expectedEdgeCount(int);
descriptor: (I)Lcom/google/common/graph/NetworkBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic com.google.common.graph.Graphs.checkNonNegative:(I)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokestatic com.google.common.base.Optional.of:(Ljava/lang/Object;)Lcom/google/common/base/Optional;
putfield com.google.common.graph.NetworkBuilder.expectedEdgeCount:Lcom/google/common/base/Optional;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/graph/NetworkBuilder<TN;TE;>;
0 2 1 expectedEdgeCount I
Signature: (I)Lcom/google/common/graph/NetworkBuilder<TN;TE;>;
MethodParameters:
Name Flags
expectedEdgeCount
public <N1 extends N> com.google.common.graph.NetworkBuilder<N1, E> nodeOrder(com.google.common.graph.ElementOrder<N1>);
descriptor: (Lcom/google/common/graph/ElementOrder;)Lcom/google/common/graph/NetworkBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.common.graph.NetworkBuilder.cast:()Lcom/google/common/graph/NetworkBuilder;
astore 2
start local 2 1: aload 2
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.common.graph.ElementOrder
putfield com.google.common.graph.NetworkBuilder.nodeOrder:Lcom/google/common/graph/ElementOrder;
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/graph/NetworkBuilder<TN;TE;>;
0 3 1 nodeOrder Lcom/google/common/graph/ElementOrder<TN1;>;
1 3 2 newBuilder Lcom/google/common/graph/NetworkBuilder<TN1;TE;>;
Signature: <N1:TN;>(Lcom/google/common/graph/ElementOrder<TN1;>;)Lcom/google/common/graph/NetworkBuilder<TN1;TE;>;
MethodParameters:
Name Flags
nodeOrder
public <E1 extends E> com.google.common.graph.NetworkBuilder<N, E1> edgeOrder(com.google.common.graph.ElementOrder<E1>);
descriptor: (Lcom/google/common/graph/ElementOrder;)Lcom/google/common/graph/NetworkBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.common.graph.NetworkBuilder.cast:()Lcom/google/common/graph/NetworkBuilder;
astore 2
start local 2 1: aload 2
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.common.graph.ElementOrder
putfield com.google.common.graph.NetworkBuilder.edgeOrder:Lcom/google/common/graph/ElementOrder;
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/graph/NetworkBuilder<TN;TE;>;
0 3 1 edgeOrder Lcom/google/common/graph/ElementOrder<TE1;>;
1 3 2 newBuilder Lcom/google/common/graph/NetworkBuilder<TN;TE1;>;
Signature: <E1:TE;>(Lcom/google/common/graph/ElementOrder<TE1;>;)Lcom/google/common/graph/NetworkBuilder<TN;TE1;>;
MethodParameters:
Name Flags
edgeOrder
public <N1 extends N, E1 extends E> com.google.common.graph.MutableNetwork<N1, E1> build();
descriptor: ()Lcom/google/common/graph/MutableNetwork;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.graph.ConfigurableMutableNetwork
dup
aload 0
invokespecial com.google.common.graph.ConfigurableMutableNetwork.<init>:(Lcom/google/common/graph/NetworkBuilder;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/graph/NetworkBuilder<TN;TE;>;
Signature: <N1:TN;E1:TE;>()Lcom/google/common/graph/MutableNetwork<TN1;TE1;>;
private <N1 extends N, E1 extends E> com.google.common.graph.NetworkBuilder<N1, E1> cast();
descriptor: ()Lcom/google/common/graph/NetworkBuilder;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/graph/NetworkBuilder<TN;TE;>;
Signature: <N1:TN;E1:TE;>()Lcom/google/common/graph/NetworkBuilder<TN1;TE1;>;
}
Signature: <N:Ljava/lang/Object;E:Ljava/lang/Object;>Lcom/google/common/graph/AbstractGraphBuilder<TN;>;
SourceFile: "NetworkBuilder.java"
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()