Package net.apartium.cocoabeans.state
Record Class CompoundRecords.RecordOf4<ARG0,ARG1,ARG2,ARG3>
java.lang.Object
java.lang.Record
net.apartium.cocoabeans.state.CompoundRecords.RecordOf4<ARG0,ARG1,ARG2,ARG3>
- All Implemented Interfaces:
CompoundRecords.CompoundRecord
- Enclosing class:
- CompoundRecords
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarg0()Returns the value of thearg0record component.arg1()Returns the value of thearg1record component.arg2()Returns the value of thearg2record component.arg3()Returns the value of thearg3record component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RecordOf4
-
RecordOf4
Creates an instance of aRecordOf4record class.- Parameters:
arg0- the value for thearg0record componentarg1- the value for thearg1record componentarg2- the value for thearg2record componentarg3- the value for thearg3record component
-
-
Method Details
-
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). -
arg0
Returns the value of thearg0record component.- Returns:
- the value of the
arg0record component
-
arg1
Returns the value of thearg1record component.- Returns:
- the value of the
arg1record component
-
arg2
Returns the value of thearg2record component.- Returns:
- the value of the
arg2record component
-
arg3
Returns the value of thearg3record component.- Returns:
- the value of the
arg3record component
-