Record Class VanUtil.VForExpr
java.lang.Object
java.lang.Record
dev.vanengine.core.support.VanUtil.VForExpr
- Enclosing class:
VanUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thearrayExprrecord component.Returns the value of thedestructKeysrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.indexVar()Returns the value of theindexVarrecord component.booleanitemVar()Returns the value of theitemVarrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
VForExpr
Creates an instance of aVForExprrecord class.- Parameters:
itemVar- the value for theitemVarrecord componentdestructKeys- the value for thedestructKeysrecord componentindexVar- the value for theindexVarrecord componentarrayExpr- the value for thearrayExprrecord component
-
-
Method Details
-
isDestructured
public boolean isDestructured() -
toString
-
hashCode
-
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). -
itemVar
Returns the value of theitemVarrecord component.- Returns:
- the value of the
itemVarrecord component
-
destructKeys
-
indexVar
Returns the value of theindexVarrecord component.- Returns:
- the value of the
indexVarrecord component
-
arrayExpr
Returns the value of thearrayExprrecord component.- Returns:
- the value of the
arrayExprrecord component
-