java.lang.Object
java.lang.Record
org.aya.core.term.HCompTerm
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotNull Termphi()Returns the value of thephirecord component.final StringtoString()Returns a string representation of this record class.@NotNull Termtype()Returns the value of thetyperecord component.@NotNull Termu()Returns the value of theurecord component.@NotNull Termu0()Returns the value of theu0record component.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
-
HCompTerm
public HCompTerm(@NotNull @NotNull Term type, @NotNull @NotNull Term phi, @NotNull @NotNull Term u, @NotNull @NotNull Term u0) Creates an instance of aHCompTermrecord class.- Parameters:
type- the value for thetyperecord componentphi- the value for thephirecord componentu- the value for theurecord componentu0- the value for theu0record component
-
-
Method Details
-
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). -
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
phi
Returns the value of thephirecord component.- Returns:
- the value of the
phirecord component
-
u
Returns the value of theurecord component.- Returns:
- the value of the
urecord component
-
u0
Returns the value of theu0record component.- Returns:
- the value of the
u0record component
-