java.lang.Object
java.lang.Record
org.aya.ide.action.ComputeTerm.Kind
- Enclosing class:
ComputeTerm
public static record ComputeTerm.Kind(@NotNull BiFunction<org.aya.core.def.PrimDef.Factory,org.aya.tyck.Result,org.aya.core.term.Term> map)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionKind(@NotNull BiFunction<org.aya.core.def.PrimDef.Factory, org.aya.tyck.Result, org.aya.core.term.Term> map) Creates an instance of aKindrecord class. -
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.static @NotNull ComputeTerm.Kindid()@NotNull BiFunction<org.aya.core.def.PrimDef.Factory,org.aya.tyck.Result, org.aya.core.term.Term> map()Returns the value of themaprecord component.static @NotNull ComputeTerm.Kindnf()final StringtoString()Returns a string representation of this record class.static @NotNull ComputeTerm.Kindtype()static @NotNull ComputeTerm.Kindwhnf()
-
Constructor Details
-
Kind
public Kind(@NotNull @NotNull BiFunction<org.aya.core.def.PrimDef.Factory, org.aya.tyck.Result, org.aya.core.term.Term> map) Creates an instance of aKindrecord class.- Parameters:
map- the value for themaprecord component
-
-
Method Details
-
type
-
id
-
nf
-
whnf
-
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). -
map
@NotNull public @NotNull BiFunction<org.aya.core.def.PrimDef.Factory,org.aya.tyck.Result, map()org.aya.core.term.Term> Returns the value of themaprecord component.- Returns:
- the value of the
maprecord component
-