Record Class LineGraphImportOptions<L extends Label>
java.lang.Object
java.lang.Record
org.variantsync.diffdetective.variation.diff.serialize.LineGraphImportOptions<L>
- Record Components:
graphFormat-GraphFormattreeFormat-VariationDiffLabelFormatnodeFormat-DiffNodeLabelFormatedgeFormat-EdgeLabelFormat
public record LineGraphImportOptions<L extends Label>(GraphFormat graphFormat, VariationDiffLabelFormat treeFormat, DiffNodeLabelFormat<? super L extends Label> nodeFormat, EdgeLabelFormat<? super L extends Label> edgeFormat)
extends Record
Options necessary for importing a line graph.
This records contains information for importing a
VariationDiff from a line graph, such as the graph format and tree and node layouts.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final EdgeLabelFormat<? super L> The field for theedgeFormatrecord component.private final GraphFormatThe field for thegraphFormatrecord component.private final DiffNodeLabelFormat<? super L> The field for thenodeFormatrecord component.private final VariationDiffLabelFormatThe field for thetreeFormatrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionLineGraphImportOptions(GraphFormat graphFormat, VariationDiffLabelFormat treeFormat, DiffNodeLabelFormat<? super L> nodeFormat, EdgeLabelFormat<? super L> edgeFormat) Creates an instance of aLineGraphImportOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionEdgeLabelFormat<? super L> Returns the value of theedgeFormatrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegraphFormatrecord component.final inthashCode()Returns a hash code value for this object.DiffNodeLabelFormat<? super L> Returns the value of thenodeFormatrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetreeFormatrecord component.
-
Field Details
-
graphFormat
The field for thegraphFormatrecord component. -
treeFormat
The field for thetreeFormatrecord component. -
nodeFormat
The field for thenodeFormatrecord component. -
edgeFormat
The field for theedgeFormatrecord component.
-
-
Constructor Details
-
LineGraphImportOptions
public LineGraphImportOptions(GraphFormat graphFormat, VariationDiffLabelFormat treeFormat, DiffNodeLabelFormat<? super L> nodeFormat, EdgeLabelFormat<? super L> edgeFormat) Creates an instance of aLineGraphImportOptionsrecord class.- Parameters:
graphFormat- the value for thegraphFormatrecord componenttreeFormat- the value for thetreeFormatrecord componentnodeFormat- the value for thenodeFormatrecord componentedgeFormat- the value for theedgeFormatrecord component
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
graphFormat
Returns the value of thegraphFormatrecord component.- Returns:
- the value of the
graphFormatrecord component
-
treeFormat
Returns the value of thetreeFormatrecord component.- Returns:
- the value of the
treeFormatrecord component
-
nodeFormat
Returns the value of thenodeFormatrecord component.- Returns:
- the value of the
nodeFormatrecord component
-
edgeFormat
Returns the value of theedgeFormatrecord component.- Returns:
- the value of the
edgeFormatrecord component
-