java.lang.Object
java.lang.Record
org.aya.core.serde.SerTerm.SerParam
- All Implemented Interfaces:
Serializable
- Enclosing interface:
SerTerm
public static record SerTerm.SerParam(boolean explicit, @NotNull SerTerm.SimpVar var, @NotNull SerTerm term)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSerParam(boolean explicit, @NotNull SerTerm.SimpVar var, @NotNull SerTerm term) Creates an instance of aSerParamrecord class. -
Method Summary
Modifier and TypeMethodDescriptionde(@NotNull SerTerm.DeState state) final booleanIndicates whether some other object is "equal to" this one.booleanexplicit()Returns the value of theexplicitrecord component.final inthashCode()Returns a hash code value for this object.@NotNull SerTermterm()Returns the value of thetermrecord component.final StringtoString()Returns a string representation of this record class.@NotNull SerTerm.SimpVarvar()Returns the value of thevarrecord component.
-
Constructor Details
-
SerParam
public SerParam(boolean explicit, @NotNull @NotNull SerTerm.SimpVar var, @NotNull @NotNull SerTerm term) Creates an instance of aSerParamrecord class.- Parameters:
explicit- the value for theexplicitrecord componentvar- the value for thevarrecord componentterm- the value for thetermrecord component
-
-
Method Details
-
de
-
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 '=='. -
explicit
public boolean explicit()Returns the value of theexplicitrecord component.- Returns:
- the value of the
explicitrecord component
-
var
Returns the value of thevarrecord component.- Returns:
- the value of the
varrecord component
-
term
Returns the value of thetermrecord component.- Returns:
- the value of the
termrecord component
-