Class AttrStmt

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<AttrStmt>

    public class AttrStmt
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<AttrStmt>
    See Also:
    Serialized Form
    • Field Detail

      • TYPE_

        public static final Name TYPE_
        Name of the hydra.graphviz.dot.AttrStmt type.
      • TYPE

        public static final Name TYPE
        Name of the hydra.graphviz.dot.AttrStmt.type field.
      • ATTRIBUTES

        public static final Name ATTRIBUTES
        Name of the hydra.graphviz.dot.AttrStmt.attributes field.
      • attributes

        public final AttrList attributes
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • compareTo

        public int compareTo​(AttrStmt other)
        Specified by:
        compareTo in interface java.lang.Comparable<AttrStmt>
      • withAttributes

        public AttrStmt withAttributes​(AttrList attributes)
        Returns a copy of this AttrStmt with attributes replaced.