java.lang.Object
java.lang.Record
org.aya.core.serde.SerTerm.ShapedList
- All Implemented Interfaces:
Serializable,SerTerm,org.aya.guest0x0.cubical.Restr.TermLike<SerTerm>
- Enclosing interface:
SerTerm
public static record SerTerm.ShapedList(@NotNull kala.collection.immutable.ImmutableSeq<SerTerm> repr, SerDef.SerShapeResult shape, SerTerm.Data type)
extends Record
implements SerTerm
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aya.guest0x0.cubical.Restr.TermLike
org.aya.guest0x0.cubical.Restr.TermLike.Factory<T>Nested classes/interfaces inherited from interface org.aya.core.serde.SerTerm
SerTerm.Access, SerTerm.App, SerTerm.CallData, SerTerm.Coe, SerTerm.Con, SerTerm.Data, SerTerm.DeState, SerTerm.FieldRef, SerTerm.Fn, SerTerm.Interval, SerTerm.Lam, SerTerm.Match, SerTerm.Mula, SerTerm.New, SerTerm.PartEl, SerTerm.PartTy, SerTerm.Path, SerTerm.PathApp, SerTerm.PathLam, SerTerm.Pi, SerTerm.Prim, SerTerm.Proj, SerTerm.Ref, SerTerm.SerArg, SerTerm.SerCube, SerTerm.SerParam, SerTerm.ShapedInt, SerTerm.ShapedList, SerTerm.Sigma, SerTerm.SimpVar, SerTerm.Sort, SerTerm.Str, SerTerm.Struct, SerTerm.Tup -
Constructor Summary
ConstructorsConstructorDescriptionShapedList(@NotNull kala.collection.immutable.ImmutableSeq<SerTerm> repr, SerDef.SerShapeResult shape, SerTerm.Data type) Creates an instance of aShapedListrecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull Termde(@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>repr()Returns the value of thereprrecord component.shape()Returns the value of theshaperecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.aya.guest0x0.cubical.Restr.TermLike
asFormula
-
Constructor Details
-
ShapedList
public ShapedList(@NotNull @NotNull kala.collection.immutable.ImmutableSeq<SerTerm> repr, @NotNull SerDef.SerShapeResult shape, @NotNull SerTerm.Data type) Creates an instance of aShapedListrecord class.- Parameters:
repr- the value for thereprrecord componentshape- the value for theshaperecord componenttype- the value for thetyperecord 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). -
repr
Returns the value of thereprrecord component.- Returns:
- the value of the
reprrecord component
-
shape
Returns the value of theshaperecord component.- Returns:
- the value of the
shaperecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-