Package crow.game.ha0.proto
Record Class AccountReg2StoreAction
java.lang.Object
java.lang.Record
crow.game.ha0.proto.AccountReg2StoreAction
-
Constructor Summary
ConstructorsConstructorDescriptionAccountReg2StoreAction(String key, int index, byte type, Object value) Creates an instance of aAccountReg2StoreActionrecord class. -
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.key()Returns the value of thekeyrecord component.toString()Returns a string representation of this record class.bytetype()Returns the value of thetyperecord component.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
AccountReg2StoreAction
Creates an instance of aAccountReg2StoreActionrecord class.- Parameters:
key- the value for thekeyrecord componentindex- the value for theindexrecord componenttype- the value for thetyperecord componentvalue- the value for thevaluerecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
index
public int index()Returns the value of theindexrecord component.- Returns:
- the value of the
indexrecord component
-
type
public byte type()Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-