104 строки
6.7 KiB
YAML
104 строки
6.7 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.resources.fluentcore.dag.Graph"
|
|
fullName: "com.azure.resourcemanager.resources.fluentcore.dag.Graph<DataT,NodeT>"
|
|
name: "Graph<DataT,NodeT>"
|
|
nameWithType: "Graph<DataT,NodeT>"
|
|
summary: "Type representing a directed graph data structure."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public class **Graph<DataT,NodeT>**"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.resources.fluentcore.dag.Graph.Graph()"
|
|
fullName: "com.azure.resourcemanager.resources.fluentcore.dag.Graph<DataT,NodeT>.Graph()"
|
|
name: "Graph()"
|
|
nameWithType: "Graph<DataT,NodeT>.Graph()"
|
|
summary: "Creates a directed graph."
|
|
syntax: "public Graph()"
|
|
desc: "Creates a directed graph."
|
|
fields:
|
|
- uid: "com.azure.resourcemanager.resources.fluentcore.dag.Graph.nodeTable"
|
|
fullName: "com.azure.resourcemanager.resources.fluentcore.dag.Graph<DataT,NodeT>.nodeTable"
|
|
name: "nodeTable"
|
|
nameWithType: "Graph<DataT,NodeT>.nodeTable"
|
|
summary: "the nodes in the graph."
|
|
modifiers:
|
|
- "protected"
|
|
field:
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<xref href=\"NodeT?alt=NodeT&text=NodeT\" data-throw-if-not-resolved=\"False\" />>"
|
|
syntax: "protected Map<String,NodeT> nodeTable"
|
|
desc: "the nodes in the graph."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.resources.fluentcore.dag.Graph.addNode(NodeT)"
|
|
fullName: "com.azure.resourcemanager.resources.fluentcore.dag.Graph<DataT,NodeT>.addNode(NodeT node)"
|
|
name: "addNode(NodeT node)"
|
|
nameWithType: "Graph<DataT,NodeT>.addNode(NodeT node)"
|
|
summary: "Adds a node to this graph."
|
|
parameters:
|
|
- description: "the node"
|
|
name: "node"
|
|
type: "<xref href=\"NodeT?alt=NodeT&text=NodeT\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public void addNode(NodeT node)"
|
|
desc: "Adds a node to this graph."
|
|
- uid: "com.azure.resourcemanager.resources.fluentcore.dag.Graph.findPath(java.lang.String,java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.resources.fluentcore.dag.Graph<DataT,NodeT>.findPath(String start, String end)"
|
|
name: "findPath(String start, String end)"
|
|
nameWithType: "Graph<DataT,NodeT>.findPath(String start, String end)"
|
|
summary: "Find the path."
|
|
modifiers:
|
|
- "protected"
|
|
parameters:
|
|
- description: "key of first node in the path"
|
|
name: "start"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "key of last node in the path"
|
|
name: "end"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "protected String findPath(String start, String end)"
|
|
desc: "Find the path."
|
|
returns:
|
|
description: "string containing the nodes keys in the path separated by arrow symbol"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.resources.fluentcore.dag.Graph.getNodes()"
|
|
fullName: "com.azure.resourcemanager.resources.fluentcore.dag.Graph<DataT,NodeT>.getNodes()"
|
|
name: "getNodes()"
|
|
nameWithType: "Graph<DataT,NodeT>.getNodes()"
|
|
syntax: "public Collection<NodeT> getNodes()"
|
|
returns:
|
|
description: "all nodes in the graph."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html\">Collection</a><<xref href=\"NodeT?alt=NodeT&text=NodeT\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.resourcemanager.resources.fluentcore.dag.Graph.visit(com.azure.resourcemanager.resources.fluentcore.dag.Graph.Visitor<com.azure.resourcemanager.resources.fluentcore.dag.Node<DataT,NodeT>>)"
|
|
fullName: "com.azure.resourcemanager.resources.fluentcore.dag.Graph<DataT,NodeT>.visit(Graph.Visitor<Node<DataT,NodeT>> visitor)"
|
|
name: "visit(Graph.Visitor<Node<DataT,NodeT>> visitor)"
|
|
nameWithType: "Graph<DataT,NodeT>.visit(Graph.Visitor<Node<DataT,NodeT>> visitor)"
|
|
summary: "Perform DFS visit in this graph."
|
|
parameters:
|
|
- description: "the graph visitor"
|
|
name: "visitor"
|
|
type: "<xref href=\"com.azure.resourcemanager.resources.fluentcore.dag.Graph.Visitor?alt=com.azure.resourcemanager.resources.fluentcore.dag.Graph.Visitor&text=Visitor\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.resources.fluentcore.dag.Node?alt=com.azure.resourcemanager.resources.fluentcore.dag.Node&text=Node\" data-throw-if-not-resolved=\"False\" /><<xref href=\"DataT?alt=DataT&text=DataT\" data-throw-if-not-resolved=\"False\" />,<xref href=\"NodeT?alt=NodeT&text=NodeT\" data-throw-if-not-resolved=\"False\" />>>"
|
|
syntax: "public void visit(Graph.Visitor<Node<DataT,NodeT>> visitor)"
|
|
desc: "Perform DFS visit in this graph.\n\nThe directed graph will be traversed in DFS order and the visitor will be notified as search explores each node and edge."
|
|
type: "class"
|
|
typeParameters:
|
|
- description: "the type of the data stored in the graph's nodes"
|
|
name: "DataT"
|
|
- description: "the type of the nodes in the graph"
|
|
name: "NodeT"
|
|
desc: "Type representing a directed graph data structure.\n\nEach node in a graph is represented by <xref uid=\"com.azure.resourcemanager.resources.fluentcore.dag.Node\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Node\"></xref>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.resources.fluentcore.dag"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-resources:2.42.0
|