java.lang.Object
java.lang.Record
org.aya.tyck.env.SeqLocalCtx
- All Implemented Interfaces:
LocalCtx
public record SeqLocalCtx(@NotNull kala.collection.mutable.MutableList<SeqLocalCtx.P> localSeq, @Nullable LocalCtx parent)
extends Record
implements LocalCtx
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSeqLocalCtx(@NotNull kala.collection.mutable.MutableList<SeqLocalCtx.P> localSeq, @Nullable LocalCtx parent) Creates an instance of aSeqLocalCtxrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.voidextractToLocal(@NotNull kala.collection.mutable.MutableList<Term.Param> dest) @Nullable Termfinal inthashCode()Returns a hash code value for this object.boolean@NotNull kala.collection.mutable.MutableList<SeqLocalCtx.P>localSeq()Returns the value of thelocalSeqrecord component.voidmodifyMyTerms(@NotNull UnaryOperator<Term> u) @Nullable LocalCtxparent()Returns the value of theparentrecord component.voidvoidfinal StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SeqLocalCtx
public SeqLocalCtx() -
SeqLocalCtx
public SeqLocalCtx(@NotNull @NotNull kala.collection.mutable.MutableList<SeqLocalCtx.P> localSeq, @Nullable @Nullable LocalCtx parent) Creates an instance of aSeqLocalCtxrecord class.- Parameters:
localSeq- the value for thelocalSeqrecord componentparent- the value for theparentrecord component
-
-
Method Details
-
remove
-
extractToLocal
- Specified by:
extractToLocalin interfaceLocalCtx
-
getLocal
-
put
-
isMeEmpty
public boolean isMeEmpty() -
modifyMyTerms
- Specified by:
modifyMyTermsin interfaceLocalCtx
-
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). -
localSeq
Returns the value of thelocalSeqrecord component.- Returns:
- the value of the
localSeqrecord component
-
parent
Returns the value of theparentrecord component.
-