Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for getParents (0.84 sec)

  1. maven-core/src/test/java/org/apache/maven/project/GraphTest.java

            assertEquals(2, a.getChildren().size());
            assertTrue(a.getChildren().contains(b));
            assertTrue(a.getChildren().contains(d));
            assertEquals(2, d.getParents().size());
            assertTrue(d.getParents().contains(a));
            assertTrue(d.getParents().contains(c));
        }
    
        @Test
        public void testCycleDetection() throws Exception {
            Graph graph1 = new Graph();
            addEdge(graph1, "a", "b");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/PredecessorsFunction.java

     *
     * <p>If you have your own graph implementation based around a custom node type {@code MyNode},
     * which has a method {@code getParents()} that retrieves its predecessors in a graph:
     *
     * <pre>{@code
     * someGraphAlgorithm(startNode, MyNode::getParents);
     * }</pre>
     *
     * <p>If you have some other mechanism for returning the predecessors of a node, or one that doesn't
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.1K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

            }
    
            String getLabel() {
                return label;
            }
    
            List<Vertex> getChildren() {
                return children;
            }
    
            List<Vertex> getParents() {
                return parents;
            }
        }
    
        static class CycleDetectedException extends RuntimeException {
            private final List<String> cycle;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/Graph.java

            }
    
            String getLabel() {
                return label;
            }
    
            List<Vertex> getChildren() {
                return children;
            }
    
            List<Vertex> getParents() {
                return parents;
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

                            Files.createDirectories(path.getParent());
                            Files.copy(zis, path, StandardCopyOption.REPLACE_EXISTING);
                        } else if ("css".equals(names[0])) {
                            names[0] = themeName;
                            final Path path = ResourceUtil.getCssPath(names);
                            Files.createDirectories(path.getParent());
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/BuildModelTransformer.java

            String groupId = m.getGroupId();
            if (groupId == null && m.getParent() != null) {
                groupId = m.getParent().getGroupId();
            }
    
            String version = m.getVersion();
            if (version == null && m.getParent() != null) {
                version = m.getParent().getVersion();
            }
    
            return new RelativeProject(groupId, m.getArtifactId(), version);
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  7. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

    # need to clarify for shard
    for p in result._elem.xpath(".//error | .//failure"):
      key = re.sub(r"0x\w+", "", p.getparent().get("name", "")) + p.text
      p.text = runfiles_matcher.sub("[testroot]/", p.text)
      source_file = p.getparent().getparent().get("source_file", "")
      p.text += f"\nNOTE: From {source_file}"
      if "bazel_pip" in source_file:
        p.text += (
    Python
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 19:00:37 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/project/ReactorModelPool.java

                    })
                    .orElse(null);
        }
    
        private String getVersion(Model model) {
            String version = model.getVersion();
            if (version == null && model.getParent() != null) {
                version = model.getParent().getVersion();
            }
            return version;
        }
    
        void put(Path pomFile, Model model) {
            modelsByPath.put(pomFile, model);
            modelsByGa
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/artifact/resolver/DefaultArtifactResolverTest.java

            // we want to see all top-level thread groups
            ThreadGroup tg = Thread.currentThread().getThreadGroup();
            while (tg.getParent() == null) {
                tg = tg.getParent();
            }
    
            ThreadGroup[] tgList = new ThreadGroup[tg.activeGroupCount()];
            tg.enumerate(tgList);
    
            boolean seen = false;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ModelProblemUtils.java

            String groupId = model.getGroupId();
            if (groupId == null && model.getParent() != null) {
                groupId = model.getParent().getGroupId();
            }
            String artifactId = model.getArtifactId();
            String version = model.getVersion();
            if (version == null && model.getParent() != null) {
                version = model.getParent().getVersion();
            }
            return toId(groupId, artifactId, version);
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top