Package hydra.graphviz.dot
Class AttrStmt
- java.lang.Object
-
- hydra.graphviz.dot.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 Summary
Fields Modifier and Type Field Description AttrListattributesstatic NameATTRIBUTESName of thehydra.graphviz.dot.AttrStmt.attributesfield.AttrTypetypestatic NameTYPEName of thehydra.graphviz.dot.AttrStmt.typefield.static NameTYPE_Name of thehydra.graphviz.dot.AttrStmttype.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(AttrStmt other)booleanequals(java.lang.Object other)inthashCode()AttrStmtwithAttributes(AttrList attributes)Returns a copy of thisAttrStmtwithattributesreplaced.AttrStmtwithType(AttrType type)Returns a copy of thisAttrStmtwithtypereplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thehydra.graphviz.dot.AttrStmttype.
-
TYPE
public static final Name TYPE
Name of thehydra.graphviz.dot.AttrStmt.typefield.
-
ATTRIBUTES
public static final Name ATTRIBUTES
Name of thehydra.graphviz.dot.AttrStmt.attributesfield.
-
type
public final AttrType type
-
attributes
public final AttrList attributes
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(AttrStmt other)
- Specified by:
compareToin interfacejava.lang.Comparable<AttrStmt>
-
withType
public AttrStmt withType(AttrType type)
Returns a copy of thisAttrStmtwithtypereplaced.
-
-