/guava/guava/src/com/google/common/graph/NetworkBuilder.java
NetworkBuilder<N1, E> newBuilder = cast( ) ;NetworkBuilder<N1, E1> castBuilder = cast( ) ;
NetworkBuilder<N1, E1> castBuilder = cast ( ) ;
.allowsParallelEdges(network.allowsParallelEdges()) .allowsSelfLoops(network.allowsSelfLoops()) .nodeOrder(network.nodeOrder()) .edgeOrder(network.edgeOrder()); } public <N1 extends N, E1 extends E> ImmutableNetwork.Builder<N1, E1> immutable() { <extra_id_0> return new ImmutableNetwork.Builder<>(castBuilder); } @CanIgnoreReturnValue public NetworkBuilder<N, E> allowsParallelEdges(boolean allowsParallelEdges) { this.allowsParallelEdges = allowsParallelEdges; return this;