java.lang.Object
java.lang.Record
org.aya.tyck.Jdg.Lazy
- All Implemented Interfaces:
Jdg
- Enclosing interface:
Jdg
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aya.tyck.Jdg
Jdg.Default, Jdg.Lazy, Jdg.Sort -
Constructor Summary
ConstructorsConstructorDescriptionLazy(@NotNull org.aya.syntax.core.term.Term wellTyped, @NotNull kala.value.LazyValue<org.aya.syntax.core.term.Term> lazyType) Creates an instance of aLazyrecord 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.@NotNull kala.value.LazyValue<org.aya.syntax.core.term.Term> lazyType()Returns the value of thelazyTyperecord component.@NotNull Jdg.Lazymap(@NotNull UnaryOperator<org.aya.syntax.core.term.Term> f) final StringtoString()Returns a string representation of this record class.@NotNull org.aya.syntax.core.term.Termtype()@NotNull org.aya.syntax.core.term.TermReturns the value of thewellTypedrecord component.
-
Constructor Details
-
Lazy
public Lazy(@NotNull @NotNull org.aya.syntax.core.term.Term wellTyped, @NotNull @NotNull kala.value.LazyValue<org.aya.syntax.core.term.Term> lazyType) Creates an instance of aLazyrecord class.- Parameters:
wellTyped- the value for thewellTypedrecord componentlazyType- the value for thelazyTyperecord component
-
-
Method Details
-
type
@NotNull public @NotNull org.aya.syntax.core.term.Term type() -
map
@NotNull public @NotNull Jdg.Lazy map(@NotNull @NotNull UnaryOperator<org.aya.syntax.core.term.Term> f) -
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). -
wellTyped
@NotNull public @NotNull org.aya.syntax.core.term.Term wellTyped()Returns the value of thewellTypedrecord component. -
lazyType
@NotNull public @NotNull kala.value.LazyValue<org.aya.syntax.core.term.Term> lazyType()Returns the value of thelazyTyperecord component.- Returns:
- the value of the
lazyTyperecord component
-