Package de.xam.featdoc.mermaid.flowchart
Record Class Edge.Arrow
java.lang.Object
java.lang.Record
de.xam.featdoc.mermaid.flowchart.Edge.Arrow
- Record Components:
start-line-length- 1 = default minimumend-
- Enclosing class:
- Edge
public static record Edge.Arrow(Edge.Start start, Edge.Line line, int length, Edge.End end)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionArrow(Edge.Start start, Edge.Line line, int length, Edge.End end) Creates an instance of aArrowrecord class. -
Method Summary
Modifier and TypeMethodDescriptionend()Returns the value of theendrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intlength()Returns the value of thelengthrecord component.line()Returns the value of thelinerecord component.static Edge.Arrowstandard()start()Returns the value of thestartrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
standard
-
toMermaidSyntax
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
start
Returns the value of thestartrecord component.- Returns:
- the value of the
startrecord component
-
line
Returns the value of thelinerecord component.- Returns:
- the value of the
linerecord component
-
length
public int length()Returns the value of thelengthrecord component.- Returns:
- the value of the
lengthrecord component
-
end
Returns the value of theendrecord component.- Returns:
- the value of the
endrecord component
-