Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for graphBuilder (0.13 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/graph/GraphBuilder.java

    import org.apache.maven.model.building.Result;
    
    /**
     * Builds the {@link ProjectDependencyGraph inter-dependencies graph} between projects in the reactor.
     *
     * @since 3.0-alpha
     */
    public interface GraphBuilder {
        String HINT = "graphBuilder";
    
        Result<? extends ProjectDependencyGraph> build(MavenSession session);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                LegacySupport legacySupport,
                SessionScope sessionScope,
                RepositorySystemSessionFactory repositorySessionFactory,
                @Named(GraphBuilder.HINT) GraphBuilder graphBuilder,
                BuildResumptionAnalyzer buildResumptionAnalyzer,
                BuildResumptionDataRepository buildResumptionDataRepository,
                SuperPomProvider superPomProvider,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  3. guava-tests/test/com/google/common/graph/ElementOrderTest.java

      // Node order tests
    
      @Test
      public void nodeOrder_none() {
        MutableGraph<Integer> graph = GraphBuilder.directed().nodeOrder(unordered()).build();
    
        assertThat(graph.nodeOrder()).isEqualTo(unordered());
      }
    
      @Test
      public void nodeOrder_insertion() {
        MutableGraph<Integer> graph = GraphBuilder.directed().nodeOrder(insertion()).build();
    
        addNodes(graph);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/GraphMutationTest.java

      @Test
      public void directedGraph() {
        testGraphMutation(GraphBuilder.directed());
      }
    
      @Test
      public void undirectedGraph() {
        testGraphMutation(GraphBuilder.undirected());
      }
    
      private static void testGraphMutation(GraphBuilder<? super Integer> graphBuilder) {
        Random gen = new Random(42); // Fixed seed so test results are deterministic.
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 18 16:17:46 UTC 2017
    - 4.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java

      }
    
      /**
       * Tests that the ImmutableGraph.Builder doesn't change when the creating GraphBuilder changes.
       */
      @Test
      @SuppressWarnings("CheckReturnValue")
      public void immutableGraphBuilder_copiesGraphBuilder() {
        GraphBuilder<String> graphBuilder =
            GraphBuilder.directed()
                .allowsSelfLoops(true)
                .<String>nodeOrder(ElementOrder.<String>natural());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java

      }
    
      /**
       * Tests that the ImmutableGraph.Builder doesn't change when the creating GraphBuilder changes.
       */
      @Test
      @SuppressWarnings("CheckReturnValue")
      public void immutableGraphBuilder_copiesGraphBuilder() {
        GraphBuilder<String> graphBuilder =
            GraphBuilder.directed()
                .allowsSelfLoops(true)
                .<String>nodeOrder(ElementOrder.<String>natural());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/PackageSanityTests.java

      private static final AbstractGraphBuilder<?> GRAPH_BUILDER_A =
          GraphBuilder.directed().expectedNodeCount(10);
      private static final AbstractGraphBuilder<?> GRAPH_BUILDER_B =
          ValueGraphBuilder.directed().allowsSelfLoops(true).expectedNodeCount(16);
    
      private static final ImmutableGraph<String> IMMUTABLE_GRAPH_A =
          GraphBuilder.directed().<String>immutable().addNode("A").build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/StandardImmutableDirectedGraphTest.java

      private ImmutableGraph.Builder<Integer> graphBuilder;
    
      public StandardImmutableDirectedGraphTest(boolean allowsSelfLoops) {
        this.allowsSelfLoops = allowsSelfLoops;
      }
    
      @Override
      public Graph<Integer> createGraph() {
        graphBuilder = GraphBuilder.directed().allowsSelfLoops(allowsSelfLoops).immutable();
        return graphBuilder.build();
      }
    
      @Override
      final void addNode(Integer n) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 10 17:54:18 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/StandardImmutableUndirectedGraphTest.java

      private ImmutableGraph.Builder<Integer> graphBuilder;
    
      public StandardImmutableUndirectedGraphTest(boolean allowsSelfLoops) {
        this.allowsSelfLoops = allowsSelfLoops;
      }
    
      @Override
      public Graph<Integer> createGraph() {
        graphBuilder = GraphBuilder.undirected().allowsSelfLoops(allowsSelfLoops).immutable();
        return graphBuilder.build();
      }
    
      @Override
      final void addNode(Integer n) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 10 17:54:18 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

      public void immutableValueGraphBuilder_copiesGraphBuilder() {
        ValueGraphBuilder<String, Object> graphBuilder =
            ValueGraphBuilder.directed()
                .allowsSelfLoops(true)
                .<String>nodeOrder(ElementOrder.<String>natural());
        ImmutableValueGraph.Builder<String, Integer> immutableValueGraphBuilder =
            graphBuilder.<String, Integer>immutable();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 6.4K bytes
    - Viewed (0)
Back to top