java.lang.Object
java.lang.Record
org.aya.core.serde.SerTerm.CallData
- All Implemented Interfaces:
Serializable
- Enclosing interface:
SerTerm
public static record SerTerm.CallData(int ulift, @NotNull kala.collection.immutable.ImmutableSeq<SerTerm.SerArg> args)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCallData(int ulift, @NotNull kala.collection.immutable.ImmutableSeq<SerTerm.SerArg> args) Creates an instance of aCallDatarecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull kala.collection.immutable.ImmutableSeq<SerTerm.SerArg>args()Returns the value of theargsrecord component.@NotNull kala.collection.immutable.ImmutableSeq<org.aya.util.Arg<Term>>de(@NotNull SerTerm.DeState state) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.intulift()Returns the value of theuliftrecord component.
-
Constructor Details
-
CallData
public CallData(int ulift, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<SerTerm.SerArg> args) Creates an instance of aCallDatarecord class.- Parameters:
ulift- the value for theuliftrecord componentargs- the value for theargsrecord component
-
-
Method Details
-
de
@NotNull public @NotNull kala.collection.immutable.ImmutableSeq<org.aya.util.Arg<Term>> de(@NotNull @NotNull SerTerm.DeState state) -
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 '=='. -
ulift
public int ulift()Returns the value of theuliftrecord component.- Returns:
- the value of the
uliftrecord component
-
args
Returns the value of theargsrecord component.- Returns:
- the value of the
argsrecord component
-