Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for Vertex (0.08 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

        }
    
        final Map<String, Vertex> vertices = new LinkedHashMap<>();
    
        public Vertex getVertex(String id) {
            return vertices.get(id);
        }
    
        public Collection<Vertex> getVertices() {
            return vertices.values();
        }
    
        Vertex addVertex(String label) {
            return vertices.computeIfAbsent(label, Vertex::new);
        }
    
        void addEdge(Vertex from, Vertex to) throws CycleDetectedException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

            return vertices;
        }
    
        public List<MetadataGraphEdge> getIncidentEdges(MetadataGraphVertex vertex) {
            checkEdges();
            return incidentEdges.get(vertex);
        }
    
        public List<MetadataGraphEdge> getExcidentEdges(MetadataGraphVertex vertex) {
            checkEdges();
            return excidentEdges.get(vertex);
        }
    
        public boolean isVersionedVertices() {
            return versionedVertices;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java

        }
    
        // ---------------------------------------------------------------------
        public int compareTo(MetadataGraphVertex vertex) {
            if (vertex == null || vertex.getMd() == null) {
                return 1;
            }
    
            ArtifactMetadata vmd = vertex.getMd();
    
            if (vmd == null) {
                if (md == null) {
                    return 0;
                } else {
                    return 1;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

        }
    
        private static void addPhase(
                Graph graph, Graph.Vertex before, Graph.Vertex after, org.apache.maven.api.Lifecycle.Phase phase) {
            Graph.Vertex ep0 = graph.addVertex("$" + phase.name());
            Graph.Vertex ep1 = graph.addVertex("$$" + phase.name());
            Graph.Vertex ep2 = graph.addVertex(phase.name());
            Graph.Vertex ep3 = graph.addVertex("$$$" + phase.name());
            graph.addEdge(ep0, ep1);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

                return null; // no edges - nothing to worry about
            }
    
            final TreeSet<MetadataGraphVertex> vertices = graph.getVertices();
    
            try {
                // edge case - single vertex graph
                if (vertices.size() == 1) {
                    return new MetadataGraph(entry);
                }
    
                final ArtifactScopeEnum requestedScope = ArtifactScopeEnum.checkScope(scope);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Graph.java

                        }
                        cycle.removeLast();
                        stateMap.put(v, DfsState.VISITED);
                    } else if (state == DfsState.VISITING) {
                        // we are already visiting this vertex, this mean we have a cycle
                        int pos = cycle.lastIndexOf(v);
                        List<String> ret = cycle.subList(pos, cycle.size());
                        ret.add(v);
                        return ret;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/path-params.md

    Erstellen Sie dann Klassen-Attribute mit festgelegten Werten, welches die erlaubten Werte sein werden:
    
    ```Python hl_lines="1  6-9"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    /// info
    
    <a href="https://docs.python.org/3/library/enum.html" class="external-link" target="_blank">Enumerationen (oder kurz Enums)</a> gibt es in Python seit Version 3.4.
    
    ///
    
    /// tip | "Tipp"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/body-updates.md

    Um zu unterscheiden zwischen Modellen für **Aktualisierungen**, mit lauter optionalen Werten, und solchen für die **Erzeugung**, mit benötigten Werten, können Sie die Techniken verwenden, die in [Extramodelle](extra-models.md){.internal-link target=_blank} beschrieben wurden.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/response-model.md

    ///
    
    #### Daten mit Werten für Felder mit Defaultwerten
    
    Aber wenn ihre Daten Werte für Modellfelder mit Defaultwerten haben, wie etwa der Artikel mit der ID `bar`:
    
    ```Python hl_lines="3  5"
    {
        "name": "Bar",
        "description": "The bartenders",
        "price": 62,
        "tax": 20.2
    }
    ```
    
    dann werden diese Werte in der Response enthalten sein.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/header-params.md

    ///
    
    ## Doppelte Header
    
    Es ist möglich, doppelte Header zu empfangen. Also den gleichen Header mit unterschiedlichen Werten.
    
    Sie können solche Fälle deklarieren, indem Sie in der Typdeklaration eine Liste verwenden.
    
    Sie erhalten dann alle Werte von diesem doppelten Header als Python-`list`e.
    
    Um zum Beispiel einen Header `X-Token` zu deklarieren, der mehrmals vorkommen kann, schreiben Sie:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top