/** Constructs a graph with the properties specified in {@code builder}. */ ConfigurableValueGraph(AbstractGraphBuilder<? super N> builder) { this( builder, builder.nodeOrder.<N, GraphConnections<N, V>>createMap( builder.expectedNodeCount.or(DEFAULT_NODE_COUNT)), 0L); }
/** Constructs a graph with the properties specified in {@code builder}. */ ConfigurableNetwork(NetworkBuilder<? super N, ? super E> builder) { this( builder, builder.nodeOrder.<N, NetworkConnections<N, E>>createMap( builder.expectedNodeCount.or(DEFAULT_NODE_COUNT)), builder.edgeOrder.<E, N>createMap(builder.expectedEdgeCount.or(DEFAULT_EDGE_COUNT))); }
/** Constructs a graph with the properties specified in {@code builder}. */ ConfigurableNetwork(NetworkBuilder<? super N, ? super E> builder) { this( builder, builder.nodeOrder.<N, NetworkConnections<N, E>>createMap( builder.expectedNodeCount.or(DEFAULT_NODE_COUNT)), builder.edgeOrder.<E, N>createMap(builder.expectedEdgeCount.or(DEFAULT_EDGE_COUNT))); }
/** Constructs a graph with the properties specified in {@code builder}. */ ConfigurableValueGraph(AbstractGraphBuilder<? super N> builder) { this( builder, builder.nodeOrder.<N, GraphConnections<N, V>>createMap( builder.expectedNodeCount.or(DEFAULT_NODE_COUNT)), 0L); }
/** Constructs a graph with the properties specified in {@code builder}. */ ConfigurableValueGraph(AbstractGraphBuilder<? super N> builder) { this( builder, builder.nodeOrder.<N, GraphConnections<N, V>>createMap( builder.expectedNodeCount.or(DEFAULT_NODE_COUNT)), 0L); }
/** Constructs a graph with the properties specified in {@code builder}. */ ConfigurableNetwork(NetworkBuilder<? super N, ? super E> builder) { this( builder, builder.nodeOrder.<N, NetworkConnections<N, E>>createMap( builder.expectedNodeCount.or(DEFAULT_NODE_COUNT)), builder.edgeOrder.<E, N>createMap(builder.expectedEdgeCount.or(DEFAULT_EDGE_COUNT))); }
/** Constructs a graph with the properties specified in {@code builder}. */ ConfigurableNetwork(NetworkBuilder<? super N, ? super E> builder) { this( builder, builder.nodeOrder.<N, NetworkConnections<N, E>>createMap( builder.expectedNodeCount.or(DEFAULT_NODE_COUNT)), builder.edgeOrder.<E, N>createMap(builder.expectedEdgeCount.or(DEFAULT_EDGE_COUNT))); }
/** Constructs a graph with the properties specified in {@code builder}. */ ConfigurableValueGraph(AbstractGraphBuilder<? super N> builder) { this( builder, builder.nodeOrder.<N, GraphConnections<N, V>>createMap( builder.expectedNodeCount.or(DEFAULT_NODE_COUNT)), 0L); }
/** Constructs a graph with the properties specified in {@code builder}. */ ConfigurableNetwork(NetworkBuilder<? super N, ? super E> builder) { this( builder, builder.nodeOrder.<N, NetworkConnections<N, E>>createMap( builder.expectedNodeCount.or(DEFAULT_NODE_COUNT)), builder.edgeOrder.<E, N>createMap(builder.expectedEdgeCount.or(DEFAULT_EDGE_COUNT))); }
/** Constructs a graph with the properties specified in {@code builder}. */ ConfigurableValueGraph(AbstractGraphBuilder<? super N> builder) { this( builder, builder.nodeOrder.<N, GraphConnections<N, V>>createMap( builder.expectedNodeCount.or(DEFAULT_NODE_COUNT)), 0L); }