Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for getNChildren (0.1 sec)

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

        MetadataTreeNode parent; // papa
    
        /** default # of children. Used for tree creation optimization only */
        int nChildren = 8;
    
        MetadataTreeNode[] children; // of cause
    
        public int getNChildren() {
            return nChildren;
        }
    
        public void setNChildren(int children) {
            nChildren = children;
        }
    
        // ------------------------------------------------------------------------
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

        @Nullable
        Dependency getDependency();
    
        /**
         * Gets the child nodes of this node.
         *
         * @return the child nodes of this node, never {@code null}
         */
        @Nonnull
        List<Node> getChildren();
    
        /**
         * @return repositories of this node
         */
        @Nonnull
        List<RemoteRepository> getRemoteRepositories();
    
        /**
         * The repository where this artifact has been downloaded from.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/SuccessorsFunction.java

     *
     * <p>If you have your own graph implementation based around a custom node type {@code MyNode},
     * which has a method {@code getChildren()} that retrieves its successors in a graph:
     *
     * <pre>{@code
     * someGraphAlgorithm(startNode, MyNode::getChildren);
     * }</pre>
     *
     * <p>If you have some other mechanism for returning the successors of a node, or one that doesn't
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java

            assertEquals("m", node.getPrefix());
            assertEquals("configuration", node.getName());
            assertEquals(1, node.getChildren().size());
            XmlNode myConfig = node.getChildren().get(0);
            assertEquals("http://fabric8.io/fabric8-maven-plugin", myConfig.getNamespaceUri());
            assertEquals("", myConfig.getPrefix());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

                throws PlexusConfigurationException {
            List<MojoDescriptor> mojos = new ArrayList<>();
    
            PlexusConfiguration[] mojoConfigurations = c.getChild("mojos").getChildren("mojo");
    
            for (PlexusConfiguration component : mojoConfigurations) {
                mojos.add(buildComponentDescriptor(component, pluginDescriptor));
            }
            return mojos;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/SuccessorsFunction.java

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

            return exception;
        }
    
        public String getMessage() {
            return message;
        }
    
        public String getReference() {
            return reference;
        }
    
        public List<ExceptionSummary> getChildren() {
            return children;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

        /**
         * Gets the children of this result.
         *
         * @return the children of this result, can be empty but never {@code null}
         */
        @Nonnull
        List<? extends ModelBuilderResult> getChildren();
    
        /**
         * Creates a human-readable representation of these errors.
         */
        String toString();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

                addEdge(parentVertex, vertex, e);
            } else {
                entry = vertex;
            }
    
            MetadataTreeNode[] kids = node.getChildren();
            if (kids == null || kids.length < 1) {
                return;
            }
    
            for (int i = 0; i < kids.length; i++) {
                MetadataTreeNode n = kids[i];
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        @Nullable
        String getValue();
    
        @Nonnull
        Map<String, String> getAttributes();
    
        @Nullable
        String getAttribute(@Nonnull String name);
    
        @Nonnull
        List<XmlNode> getChildren();
    
        @Nullable
        XmlNode getChild(String name);
    
        @Nullable
        Object getInputLocation();
    
        default XmlNode merge(@Nullable XmlNode source) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Nov 27 23:11:34 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top