Enum Class Endpoint

java.lang.Object
java.lang.Enum<Endpoint>
edu.cmu.tetrad.graph.Endpoint
All Implemented Interfaces:
TetradSerializable, Serializable, Comparable<Endpoint>, java.lang.constant.Constable

public enum Endpoint extends Enum<Endpoint> implements TetradSerializable
A typesafe enumeration of the types of endpoints that are permitted in Tetrad-style graphs: null (-), arrow (->), circle (-o), start (-*), and null (no endpoint).
Author:
josephramsey
  • Enum Constant Details

    • TAIL

      public static final Endpoint TAIL
    • ARROW

      public static final Endpoint ARROW
    • CIRCLE

      public static final Endpoint CIRCLE
    • STAR

      public static final Endpoint STAR
    • NULL

      public static final Endpoint NULL
  • Method Details

    • values

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

      public static Endpoint valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null