Record Class GraphLayout.Row
java.lang.Object
java.lang.Record
io.github.jbastgen.stemma.app.graph.GraphLayout.Row
- Record Components:
col- lane of the commit nodefresh- true if no child pointed at this commit (a new lane starts here)lin- lane occupants entering the row from the toplout- lane occupants leaving the row at the bottomtargets- lanes the parent edges run to
- Enclosing class:
GraphLayout
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcol()Returns the value of thecolrecord component.final booleanIndicates whether some other object is "equal to" this one.booleanfresh()Returns the value of thefreshrecord component.final inthashCode()Returns a hash code value for this object.lin()Returns the value of thelinrecord component.lout()Returns the value of theloutrecord component.targets()Returns the value of thetargetsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
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 '=='. -
col
public int col()Returns the value of thecolrecord component.- Returns:
- the value of the
colrecord component
-
fresh
public boolean fresh()Returns the value of thefreshrecord component.- Returns:
- the value of the
freshrecord component
-
lin
Returns the value of thelinrecord component.- Returns:
- the value of the
linrecord component
-
lout
Returns the value of theloutrecord component.- Returns:
- the value of the
loutrecord component
-
targets
Returns the value of thetargetsrecord component.- Returns:
- the value of the
targetsrecord component
-