Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for edgeValue (0.07 sec)

  1. guava-tests/test/com/google/common/graph/ValueGraphTest.java

        assertThat(graph.edgeValue(1, 2).orElse(DEFAULT)).isEqualTo(DEFAULT);
        assertThat(graph.edgeValue(2, 1).orElse(DEFAULT)).isEqualTo(DEFAULT);
        assertThat(graph.edgeValueOrDefault(1, 2, null)).isNull();
        assertThat(graph.edgeValueOrDefault(2, 1, null)).isNull();
        assertThat(graph.edgeValue(1, 2).orElse(null)).isNull();
        assertThat(graph.edgeValue(2, 1).orElse(null)).isNull();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 06 18:35:19 UTC 2024
    - 20K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/ValueGraph.java

       *
       * @throws IllegalArgumentException if {@code nodeU} or {@code nodeV} is not an element of this
       *     graph
       * @since 23.0 (since 20.0 with return type {@code V})
       */
      Optional<V> edgeValue(N nodeU, N nodeV);
    
      /**
       * Returns the value of the edge that connects {@code endpoints} (in the order, if any, specified
       * by {@code endpoints}), if one is present; otherwise, returns {@code Optional.empty()}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top