Record Class ExpressionNode.Param
java.lang.Object
java.lang.Record
org.cyclops.integrateddynamics.api.evaluate.expression.tree.ExpressionNode.Param
- Record Components:
index- The parameter index.
- All Implemented Interfaces:
ExpressionNode
- Enclosing interface:
ExpressionNode
A reference to a parameter of the expression.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ExpressionNode
ExpressionNode.Const, ExpressionNode.Empty, ExpressionNode.Operator, ExpressionNode.Param, ExpressionNode.Ref -
Field Summary
Fields inherited from interface ExpressionNode
EMPTY -
Constructor Summary
Constructors -
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.intindex()Returns the value of theindexrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Param
public Param(int index) Creates an instance of aParamrecord class.- Parameters:
index- the value for theindexrecord component
-
-
Method Details
-
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 with thecomparemethod from their corresponding wrapper classes. -
index
-