Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for edgeConnectingOrNull (0.13 sec)

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

      }
    
      @Override
      @CheckForNull
      public E edgeConnectingOrNull(N nodeU, N nodeV) {
        return delegate().edgeConnectingOrNull(nodeU, nodeV);
      }
    
      @Override
      @CheckForNull
      public E edgeConnectingOrNull(EndpointPair<N> endpoints) {
        return delegate().edgeConnectingOrNull(endpoints);
      }
    
      @Override
      public boolean hasEdgeConnecting(N nodeU, N nodeV) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/AbstractNetwork.java

        return Optional.ofNullable(edgeConnectingOrNull(nodeU, nodeV));
      }
    
      @Override
      public Optional<E> edgeConnecting(EndpointPair<N> endpoints) {
        validateEndpoints(endpoints);
        return edgeConnecting(endpoints.nodeU(), endpoints.nodeV());
      }
    
      @Override
      @CheckForNull
      public E edgeConnectingOrNull(N nodeU, N nodeV) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/AbstractNetwork.java

            throw new IllegalArgumentException(String.format(MULTIPLE_EDGES_CONNECTING, nodeU, nodeV));
        }
      }
    
      @Override
      @CheckForNull
      public E edgeConnectingOrNull(EndpointPair<N> endpoints) {
        validateEndpoints(endpoints);
        return edgeConnectingOrNull(endpoints.nodeU(), endpoints.nodeV());
      }
    
      @Override
      public boolean hasEdgeConnecting(N nodeU, N nodeV) {
        checkNotNull(nodeU);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/Network.java

       *
       * @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
       */
      @CheckForNull
      E edgeConnectingOrNull(N nodeU, N nodeV);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

            switch (edgesConnecting.size()) {
              case 0:
                assertThat(network.edgeConnectingOrNull(node, otherNode)).isNull();
                assertThat(network.hasEdgeConnecting(node, otherNode)).isFalse();
                break;
              case 1:
                assertThat(network.edgeConnectingOrNull(node, otherNode))
                    .isEqualTo(edgesConnecting.iterator().next());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/Network.java

       *
       * @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
       */
      @CheckForNull
      E edgeConnectingOrNull(N nodeU, N nodeV);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/GraphsTest.java

        AbstractNetworkTest.validateNetwork(transpose);
    
        assertThat(transpose.edgesConnecting(N1, N2)).isEmpty();
        assertThat(transpose.edgeConnecting(N1, N2).isPresent()).isFalse();
        assertThat(transpose.edgeConnectingOrNull(N1, N2)).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)
  8. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        addEdge(N1, N2, E12);
        IllegalArgumentException e =
            assertThrows(
                IllegalArgumentException.class,
                () -> {
                  String unused = network.edgeConnectingOrNull(EndpointPair.unordered(N1, N2));
                });
        assertThat(e).hasMessageThat().contains(ENDPOINTS_MISMATCH);
      }
    
      @Override
      @Test
      public void incidentNodes_oneEdge() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        addEdge(N1, N2, E12);
        IllegalArgumentException e =
            assertThrows(
                IllegalArgumentException.class,
                () -> {
                  String unused = network.edgeConnectingOrNull(EndpointPair.unordered(N1, N2));
                });
        assertThat(e).hasMessageThat().contains(ENDPOINTS_MISMATCH);
      }
    
      @Override
      @Test
      public void incidentNodes_oneEdge() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

        addEdge(N1, N2, E12);
        IllegalArgumentException e =
            assertThrows(
                IllegalArgumentException.class,
                () -> {
                  String unused = network.edgeConnectingOrNull(ENDPOINTS_N1N2);
                });
        assertThat(e).hasMessageThat().contains(ENDPOINTS_MISMATCH);
      }
    
      @Test
      public void edgesConnecting_oneEdge() {
        addEdge(N1, N2, E12);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top