Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for edgeValueOrDefault (0.21 sec)

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

       * otherwise, returns {@code defaultValue}.
       *
       * <p>In an undirected graph, this is equal to {@code edgeValueOrDefault(nodeV, nodeU,
       * defaultValue)}.
       *
       * @throws IllegalArgumentException if {@code nodeU} or {@code nodeV} is not an element of this
       *     graph
       */
      @CheckForNull
      V edgeValueOrDefault(N nodeU, N nodeV, @CheckForNull V defaultValue);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/GraphsTest.java

        assertThat(transpose).isEqualTo(expectedTranspose);
        assertThat(transpose(transpose)).isSameInstanceAs(directedGraph);
        AbstractGraphTest.validateGraph(transpose.asGraph());
    
        assertThat(transpose.edgeValueOrDefault(N1, N2, null)).isNull();
        for (Integer node : directedGraph.nodes()) {
          assertThat(directedGraph.inDegree(node)).isSameInstanceAs(transpose.outDegree(node));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 24.7K bytes
    - Viewed (0)
Back to top