Record Class Value.Parameter
java.lang.Object
java.lang.Record
org.geysermc.conduit.Value.Parameter
- Record Components:
index- the position among the declared parameters, from zero, not countingthis
- All Implemented Interfaces:
Value
- Enclosing interface:
Value
-
Nested Class Summary
Nested classes/interfaces inherited from interface Value
Value.Array, Value.Conditional, Value.Constructed, Value.Field, Value.InstanceCall, Value.InstanceField, Value.InstanceOf, Value.Lambda, Value.Literal, Value.Multiple, Value.Operation, Value.Operator, Value.Parameter, Value.StaticCall, Value.This, Value.Uninitialized, Value.Unknown -
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.toString()Returns a string representation of this record class.
-
Constructor Details
-
Parameter
public Parameter(int index) Creates an instance of aParameterrecord 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
-