Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for asGraph (0.09 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionRequest.java

            this.asResolvedTree = asResolvedTree;
            return this;
        }
    
        public boolean isAsGraph() {
            return asGraph;
        }
    
        public MetadataResolutionRequest setAsGraph(boolean asGraph) {
            this.asGraph = asGraph;
            return this;
        }
    
        public MetadataResolutionRequest setScope(String scope) {
            this.scope = scope;
            return this;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

        Graph<N> asGraph = network.asGraph();
        AbstractGraphTest.validateGraph(asGraph);
        assertThat(network.nodes()).isEqualTo(asGraph.nodes());
        assertThat(network.edges().size()).isAtLeast(asGraph.edges().size());
        assertThat(network.nodeOrder()).isEqualTo(asGraph.nodeOrder());
        assertThat(network.isDirected()).isEqualTo(asGraph.isDirected());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

        Graph<Integer> asGraph = graph.asGraph();
        AbstractGraphTest.validateGraph(asGraph);
        assertThat(graph.nodes()).isEqualTo(asGraph.nodes());
        assertThat(graph.edges()).isEqualTo(asGraph.edges());
        assertThat(graph.nodeOrder()).isEqualTo(asGraph.nodeOrder());
        assertThat(graph.incidentEdgeOrder()).isEqualTo(asGraph.incidentEdgeOrder());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 17.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/ValueGraphTest.java

        Graph<Integer> asGraph = graph.asGraph();
        AbstractGraphTest.validateGraph(asGraph);
        assertThat(graph.nodes()).isEqualTo(asGraph.nodes());
        assertThat(graph.edges()).isEqualTo(asGraph.edges());
        assertThat(graph.nodeOrder()).isEqualTo(asGraph.nodeOrder());
        assertThat(graph.incidentEdgeOrder()).isEqualTo(asGraph.incidentEdgeOrder());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 06 18:35:19 UTC 2024
    - 20K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/AbstractValueGraph.java

     * @since 20.0
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractValueGraph<N, V> extends AbstractBaseGraph<N>
        implements ValueGraph<N, V> {
    
      @Override
      public Graph<N> asGraph() {
        return new AbstractGraph<N>() {
          @Override
          public Set<N> nodes() {
            return AbstractValueGraph.this.nodes();
          }
    
          @Override
          public Set<EndpointPair<N>> edges() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        EndpointPair<Integer> endpointsN1N2 = EndpointPair.unordered(N1, N2);
        EndpointPair<Integer> endpointsN2N1 = EndpointPair.unordered(N2, N1);
        assertThat(network.asGraph().edges()).doesNotContain(endpointsN1N2);
        assertThat(network.asGraph().edges()).doesNotContain(endpointsN2N1);
      }
    
      @Test
      public void edgesConnecting_orderMismatch() {
        addEdge(N1, N2, E12);
        IllegalArgumentException e =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        EndpointPair<Integer> endpointsN1N2 = EndpointPair.unordered(N1, N2);
        EndpointPair<Integer> endpointsN2N1 = EndpointPair.unordered(N2, N1);
        assertThat(network.asGraph().edges()).doesNotContain(endpointsN1N2);
        assertThat(network.asGraph().edges()).doesNotContain(endpointsN2N1);
      }
    
      @Test
      public void edgesConnecting_orderMismatch() {
        addEdge(N1, N2, E12);
        IllegalArgumentException e =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

      }
    
      @Test
      public void edges_containsOrderMismatch() {
        addEdge(N1, N2, E12);
        assertThat(network.asGraph().edges()).doesNotContain(ENDPOINTS_N2N1);
        assertThat(network.asGraph().edges()).doesNotContain(ENDPOINTS_N1N2);
      }
    
      @Test
      public void edgesConnecting_orderMismatch() {
        addEdge(N1, N2, E12);
        IllegalArgumentException e =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/AbstractValueGraph.java

     * @since 20.0
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractValueGraph<N, V> extends AbstractBaseGraph<N>
        implements ValueGraph<N, V> {
    
      @Override
      public Graph<N> asGraph() {
        return new AbstractGraph<N>() {
          @Override
          public Set<N> nodes() {
            return AbstractValueGraph.this.nodes();
          }
    
          @Override
          public Set<EndpointPair<N>> edges() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

        return checkNotNull(graph);
      }
    
      @Override
      public ElementOrder<N> incidentEdgeOrder() {
        return ElementOrder.stable();
      }
    
      @Override
      public ImmutableGraph<N> asGraph() {
        return new ImmutableGraph<>(this); // safe because the view is effectively immutable
      }
    
      private static <N, V> ImmutableMap<N, GraphConnections<N, V>> getNodeConnections(
          ValueGraph<N, V> graph) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.7K bytes
    - Viewed (0)
Back to top