public final class com.google.common.graph.GraphBuilder<N> 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.GraphBuilder
super_class: com.google.common.graph.AbstractGraphBuilder
{
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: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/graph/GraphBuilder<TN;>;
0 2 1 directed Z
MethodParameters:
Name Flags
directed
public static com.google.common.graph.GraphBuilder<java.lang.Object> directed();
descriptor: ()Lcom/google/common/graph/GraphBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new com.google.common.graph.GraphBuilder
dup
iconst_1
invokespecial com.google.common.graph.GraphBuilder.<init>:(Z)V
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Lcom/google/common/graph/GraphBuilder<Ljava/lang/Object;>;
public static com.google.common.graph.GraphBuilder<java.lang.Object> undirected();
descriptor: ()Lcom/google/common/graph/GraphBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new com.google.common.graph.GraphBuilder
dup
iconst_0
invokespecial com.google.common.graph.GraphBuilder.<init>:(Z)V
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Lcom/google/common/graph/GraphBuilder<Ljava/lang/Object;>;
public static <N> com.google.common.graph.GraphBuilder<N> from(com.google.common.graph.Graph<N>);
descriptor: (Lcom/google/common/graph/Graph;)Lcom/google/common/graph/GraphBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.graph.GraphBuilder
dup
aload 0
invokeinterface com.google.common.graph.Graph.isDirected:()Z
invokespecial com.google.common.graph.GraphBuilder.<init>:(Z)V
1: aload 0
invokeinterface com.google.common.graph.Graph.allowsSelfLoops:()Z
invokevirtual com.google.common.graph.GraphBuilder.allowsSelfLoops:(Z)Lcom/google/common/graph/GraphBuilder;
2: aload 0
invokeinterface com.google.common.graph.Graph.nodeOrder:()Lcom/google/common/graph/ElementOrder;
invokevirtual com.google.common.graph.GraphBuilder.nodeOrder:(Lcom/google/common/graph/ElementOrder;)Lcom/google/common/graph/GraphBuilder;
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 graph Lcom/google/common/graph/Graph<TN;>;
Signature: <N:Ljava/lang/Object;>(Lcom/google/common/graph/Graph<TN;>;)Lcom/google/common/graph/GraphBuilder<TN;>;
MethodParameters:
Name Flags
graph
public com.google.common.graph.GraphBuilder<N> allowsSelfLoops(boolean);
descriptor: (Z)Lcom/google/common/graph/GraphBuilder;
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.GraphBuilder.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/GraphBuilder<TN;>;
0 2 1 allowsSelfLoops Z
Signature: (Z)Lcom/google/common/graph/GraphBuilder<TN;>;
MethodParameters:
Name Flags
allowsSelfLoops
public com.google.common.graph.GraphBuilder<N> expectedNodeCount(int);
descriptor: (I)Lcom/google/common/graph/GraphBuilder;
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.GraphBuilder.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/GraphBuilder<TN;>;
0 2 1 expectedNodeCount I
Signature: (I)Lcom/google/common/graph/GraphBuilder<TN;>;
MethodParameters:
Name Flags
expectedNodeCount
public <N1 extends N> com.google.common.graph.GraphBuilder<N1> nodeOrder(com.google.common.graph.ElementOrder<N1>);
descriptor: (Lcom/google/common/graph/ElementOrder;)Lcom/google/common/graph/GraphBuilder;
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.GraphBuilder.cast:()Lcom/google/common/graph/GraphBuilder;
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.GraphBuilder.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/GraphBuilder<TN;>;
0 3 1 nodeOrder Lcom/google/common/graph/ElementOrder<TN1;>;
1 3 2 newBuilder Lcom/google/common/graph/GraphBuilder<TN1;>;
Signature: <N1:TN;>(Lcom/google/common/graph/ElementOrder<TN1;>;)Lcom/google/common/graph/GraphBuilder<TN1;>;
MethodParameters:
Name Flags
nodeOrder
public <N1 extends N> com.google.common.graph.MutableGraph<N1> build();
descriptor: ()Lcom/google/common/graph/MutableGraph;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.graph.ConfigurableMutableGraph
dup
aload 0
invokespecial com.google.common.graph.ConfigurableMutableGraph.<init>:(Lcom/google/common/graph/AbstractGraphBuilder;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/graph/GraphBuilder<TN;>;
Signature: <N1:TN;>()Lcom/google/common/graph/MutableGraph<TN1;>;
private <N1 extends N> com.google.common.graph.GraphBuilder<N1> cast();
descriptor: ()Lcom/google/common/graph/GraphBuilder;
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/GraphBuilder<TN;>;
Signature: <N1:TN;>()Lcom/google/common/graph/GraphBuilder<TN1;>;
}
Signature: <N:Ljava/lang/Object;>Lcom/google/common/graph/AbstractGraphBuilder<TN;>;
SourceFile: "GraphBuilder.java"
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()