Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for expectedNodeCount (0.05 sec)

  1. guava/src/com/google/common/graph/StandardValueGraph.java

      StandardValueGraph(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}, initialized with the given
       * node map.
       */
      StandardValueGraph(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/GraphsTest.java

            .isEqualTo(ImmutableSet.of(E12, E12_A, E21));
      }
    
      @Test
      public void createDirected_expectedNodeCount() {
        MutableNetwork<Integer, String> directedGraph =
            NetworkBuilder.directed().expectedNodeCount(NODE_COUNT).build();
        assertThat(directedGraph.addEdge(N1, N2, E12)).isTrue();
        assertThat(directedGraph.edgesConnecting(N1, N2)).isEqualTo(ImmutableSet.of(E12));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 17:09:51 UTC 2025
    - 30.1K bytes
    - Viewed (0)
Back to top