java.lang.Object
java.lang.Record
org.aya.tyck.unify.DoubleChecker
public record DoubleChecker(@NotNull Unifier unifier, @NotNull Synthesizer synthesizer, @NotNull TermComparator.Sub lr, @NotNull TermComparator.Sub rl)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionDoubleChecker(@NotNull Unifier unifier) DoubleChecker(@NotNull Unifier unifier, @NotNull Synthesizer synthesizer, @NotNull TermComparator.Sub lr, @NotNull TermComparator.Sub rl) Creates an instance of aDoubleCheckerrecord class.DoubleChecker(@NotNull Unifier unifier, @NotNull TermComparator.Sub lr, @NotNull TermComparator.Sub rl) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.boolean@NotNull TermComparator.Sublr()Returns the value of thelrrecord component.@NotNull TermComparator.Subrl()Returns the value of therlrecord component.@NotNull SynthesizerReturns the value of thesynthesizerrecord component.final StringtoString()Returns a string representation of this record class.@NotNull Unifierunifier()Returns the value of theunifierrecord component.
-
Constructor Details
-
DoubleChecker
public DoubleChecker(@NotNull @NotNull Unifier unifier, @NotNull @NotNull Synthesizer synthesizer, @NotNull @NotNull TermComparator.Sub lr, @NotNull @NotNull TermComparator.Sub rl) Creates an instance of aDoubleCheckerrecord class.- Parameters:
unifier- the value for theunifierrecord componentsynthesizer- the value for thesynthesizerrecord componentlr- the value for thelrrecord componentrl- the value for therlrecord component
-
DoubleChecker
-
DoubleChecker
public DoubleChecker(@NotNull @NotNull Unifier unifier, @NotNull @NotNull TermComparator.Sub lr, @NotNull @NotNull TermComparator.Sub rl)
-
-
Method Details
-
inherit
-
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). -
unifier
Returns the value of theunifierrecord component.- Returns:
- the value of the
unifierrecord component
-
synthesizer
Returns the value of thesynthesizerrecord component.- Returns:
- the value of the
synthesizerrecord component
-
lr
Returns the value of thelrrecord component.- Returns:
- the value of the
lrrecord component
-
rl
Returns the value of therlrecord component.- Returns:
- the value of the
rlrecord component
-