Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for edgeConnectingOrNull (0.33 seconds)

  1. android/guava/src/com/google/common/graph/AbstractNetwork.java

            throw new IllegalArgumentException(String.format(MULTIPLE_EDGES_CONNECTING, nodeU, nodeV));
        }
      }
    
      @Override
      public @Nullable E edgeConnectingOrNull(EndpointPair<N> endpoints) {
        validateEndpoints(endpoints);
        return edgeConnectingOrNull(endpoints.nodeU(), endpoints.nodeV());
      }
    
      @Override
      public boolean hasEdgeConnecting(N nodeU, N nodeV) {
        checkNotNull(nodeU);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 10K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/graph/Graphs.java

        }
    
        @Override
        public @Nullable E edgeConnectingOrNull(N nodeU, N nodeV) {
          return delegate().edgeConnectingOrNull(nodeV, nodeU); // transpose
        }
    
        @Override
        public @Nullable E edgeConnectingOrNull(EndpointPair<N> endpoints) {
          return delegate().edgeConnectingOrNull(transpose(endpoints));
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/graph/Network.java

       * <p>In an undirected network, this is equal to {@code edgeConnectingOrNull(nodeV, nodeU)}.
       *
       * @throws IllegalArgumentException if there are multiple parallel edges connecting {@code nodeU}
       *     to {@code nodeV}
       * @throws IllegalArgumentException if {@code nodeU} or {@code nodeV} is not an element of this
       *     network
       * @since 23.0
       */
      @Nullable E edgeConnectingOrNull(N nodeU, N nodeV);
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 17.6K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/graph/GraphsTest.java

        AbstractNetworkTest.validateNetwork(transpose);
    
        assertThat(transpose.edgesConnecting(N1, N2)).isEmpty();
        assertThat(transpose.edgeConnecting(N1, N2)).isEmpty();
        assertThat(transpose.edgeConnectingOrNull(N1, N2)).isNull();
    
        for (Integer node : directedGraph.nodes()) {
          assertThat(directedGraph.inDegree(node)).isSameInstanceAs(transpose.outDegree(node));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:06 GMT 2026
    - 30.1K bytes
    - Click Count (0)
Back to Top