java.lang.Object
java.lang.Record
org.aya.core.serde.SerTerm.SerCube
- All Implemented Interfaces:
Serializable
- Enclosing interface:
SerTerm
public static record SerTerm.SerCube(@NotNull kala.collection.immutable.ImmutableSeq<SerTerm.SimpVar> params, @NotNull SerTerm type, @NotNull org.aya.guest0x0.cubical.Partial<SerTerm> partial)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSerCube(@NotNull kala.collection.immutable.ImmutableSeq<SerTerm.SimpVar> params, @NotNull SerTerm type, @NotNull org.aya.guest0x0.cubical.Partial<SerTerm> partial) Creates an instance of aSerCuberecord class. -
Method Summary
Modifier and TypeMethodDescriptionde(@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.@NotNull kala.collection.immutable.ImmutableSeq<SerTerm.SimpVar>params()Returns the value of theparamsrecord component.@NotNull org.aya.guest0x0.cubical.Partial<SerTerm>partial()Returns the value of thepartialrecord component.final StringtoString()Returns a string representation of this record class.@NotNull SerTermtype()Returns the value of thetyperecord component.
-
Constructor Details
-
SerCube
public SerCube(@NotNull @NotNull kala.collection.immutable.ImmutableSeq<SerTerm.SimpVar> params, @NotNull @NotNull SerTerm type, @NotNull @NotNull org.aya.guest0x0.cubical.Partial<SerTerm> partial) Creates an instance of aSerCuberecord class.- Parameters:
params- the value for theparamsrecord componenttype- the value for thetyperecord componentpartial- the value for thepartialrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
params
Returns the value of theparamsrecord component.- Returns:
- the value of the
paramsrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
partial
Returns the value of thepartialrecord component.- Returns:
- the value of the
partialrecord component
-