java.lang.Object
java.lang.Record
org.aya.core.term.SigmaTerm
- All Implemented Interfaces:
StableWHNF,Term,AyaDocile,org.aya.guest0x0.cubical.Restr.TermLike<Term>
public record SigmaTerm(@NotNull kala.collection.immutable.ImmutableSeq<@NotNull Term.Param> params)
extends Record
implements StableWHNF, Term
-
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.term.Term
Term.Matching, Term.Param -
Constructor Summary
ConstructorsConstructorDescriptionSigmaTerm(@NotNull kala.collection.immutable.ImmutableSeq<@NotNull Term.Param> params) Creates an instance of aSigmaTermrecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull LamTermfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static @NotNull SortTerm@NotNull kala.collection.immutable.ImmutableSeq<@NotNull Term.Param>params()Returns the value of theparamsrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.aya.generic.AyaDocile
debuggerOnlyToDocMethods inherited from interface org.aya.guest0x0.cubical.Restr.TermLike
asFormulaMethods inherited from interface org.aya.core.term.Term
computeSort, computeType, descent, findUsages, freezeHoles, lift, normalize, rename, scopeCheck, subst, subst, subst, subst, toDoc
-
Constructor Details
-
SigmaTerm
public SigmaTerm(@NotNull @NotNull kala.collection.immutable.ImmutableSeq<@NotNull Term.Param> params) Creates an instance of aSigmaTermrecord class.- Parameters:
params- the value for theparamsrecord component
-
-
Method Details
-
max
-
coe
-
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
-