java.lang.Object
java.lang.Enum<Graph.EdgeType>
com.azure.resourcemanager.resources.fluentcore.dag.Graph.EdgeType
All Implemented Interfaces:
Serializable, Comparable<Graph.EdgeType>, java.lang.constant.Constable
Enclosing class:
Graph<DataT,NodeT extends Node<DataT,NodeT>>

protected static enum Graph.EdgeType extends Enum<Graph.EdgeType>
The edge types in a graph.
  • Enum Constant Details

    • TREE

      public static final Graph.EdgeType TREE
      An edge (u, v) is a tree edge if v is visited the first time.
    • FORWARD

      public static final Graph.EdgeType FORWARD
      An edge (u, v) is a forward edge if v is descendant of u.
    • BACK

      public static final Graph.EdgeType BACK
      An edge (u, v) is a back edge if v is ancestor of u.
    • CROSS

      public static final Graph.EdgeType CROSS
      An edge (u, v) is a cross edge if v is neither ancestor or descendant of u.
  • Method Details

    • values

      public static Graph.EdgeType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Graph.EdgeType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null