java.lang.Object
java.lang.Record
org.aya.concrete.Expr.Array.ElementList
- Enclosing class:
Expr.Array
-
Constructor Summary
ConstructorsConstructorDescriptionElementList(@NotNull kala.collection.immutable.ImmutableSeq<Expr> exprList) Creates an instance of aElementListrecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull Expr.Array.ElementListdescent(@NotNull UnaryOperator<@NotNull Expr> f) final booleanIndicates whether some other object is "equal to" this one.@NotNull kala.collection.immutable.ImmutableSeq<Expr>exprList()Returns the value of theexprListrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.@NotNull Expr.Array.ElementList
-
Constructor Details
-
ElementList
Creates an instance of aElementListrecord class.- Parameters:
exprList- the value for theexprListrecord component
-
-
Method Details
-
update
@NotNull public @NotNull Expr.Array.ElementList update(@NotNull @NotNull kala.collection.immutable.ImmutableSeq<Expr> exprList) -
descent
@NotNull public @NotNull Expr.Array.ElementList descent(@NotNull @NotNull UnaryOperator<@NotNull Expr> 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). -
exprList
Returns the value of theexprListrecord component.- Returns:
- the value of the
exprListrecord component
-