Record Class FromVariationTreeSource
java.lang.Object
java.lang.Record
org.variantsync.diffdetective.variation.diff.source.FromVariationTreeSource
- All Implemented Interfaces:
VariationDiffSource
public record FromVariationTreeSource(VariationTreeSource inner)
extends Record
implements VariationDiffSource
-
Field Summary
Modifier and TypeFieldDescriptionprivate final VariationTreeSource
The field for theinner
record component.Fields inherited from interface org.variantsync.diffdetective.variation.diff.source.VariationDiffSource
Unknown
-
Constructor Summary
ConstructorDescriptionCreates an instance of aFromVariationTreeSource
record class. -
Method Summary
-
Field Details
-
inner
The field for theinner
record component.
-
-
Constructor Details
-
FromVariationTreeSource
Creates an instance of aFromVariationTreeSource
record class.- Parameters:
inner
- the value for theinner
record 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)
. -
inner
Returns the value of theinner
record component.- Returns:
- the value of the
inner
record component
-