Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for getParents (0.3 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. 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)
  3. 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)
  4. maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java

        }
    
        public boolean hasMultipleProjects() {
            return sortedProjects.size() > 1;
        }
    
        public List<String> getDependents(String id) {
            return graph.getVertex(id).getParents().stream().map(Vertex::getLabel).collect(Collectors.toList());
        }
    
        public List<String> getDependencies(String id) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  5. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    getLabel(); public void addEdgeTo(Vertex); public void removeEdgeTo(Vertex); public void addEdgeFrom(Vertex); public void removeEdgeFrom(Vertex); public java.util.List getChildren(); public java.util.List getChildLabels(); public java.util.List getParents(); public java.util.List getParentLabels(); public boolean isLeaf(); public boolean isRoot(); public boolean isConnected(); public Object clone() throws CloneNotSupportedExc; public String toString(); } org/codehaus/plexus/util/DirectoryScanner.class...
    Archive
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 164.6K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar

    getLabel(); public void addEdgeTo(Vertex); public void removeEdgeTo(Vertex); public void addEdgeFrom(Vertex); public void removeEdgeFrom(Vertex); public java.util.List getChildren(); public java.util.List getChildLabels(); public java.util.List getParents(); public java.util.List getParentLabels(); public boolean isLeaf(); public boolean isRoot(); public boolean isConnected(); public Object clone() throws CloneNotSupportedExc; public String toString(); } org/codehaus/plexus/util/FastMap.class package...
    Archive
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 160K bytes
    - Viewed (0)
  7. maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    getLabel(); public void addEdgeTo(Vertex); public void removeEdgeTo(Vertex); public void addEdgeFrom(Vertex); public void removeEdgeFrom(Vertex); public java.util.List getChildren(); public java.util.List getChildLabels(); public java.util.List getParents(); public java.util.List getParentLabels(); public boolean isLeaf(); public boolean isRoot(); public boolean isConnected(); public Object clone() throws CloneNotSupportedExc; public String toString(); } org/codehaus/plexus/util/DirectoryScanner.class...
    Archive
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 164.6K bytes
    - Viewed (0)
  8. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.jar

    getLabel(); public void addEdgeTo(Vertex); public void removeEdgeTo(Vertex); public void addEdgeFrom(Vertex); public void removeEdgeFrom(Vertex); public java.util.List getChildren(); public java.util.List getChildLabels(); public java.util.List getParents(); public java.util.List getParentLabels(); public boolean isLeaf(); public boolean isRoot(); public boolean isConnected(); public Object clone() throws CloneNotSupportedExc; public String toString(); } org/codehaus/plexus/util/DirectoryScanner.class...
    Archive
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 200.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top