Record Class MFAStore.Code
java.lang.Object
java.lang.Record
com.iizix.server.user.mfa.MFAStore.Code
- Record Components:
seq- The number of the code.hash- The hash of the code.
- Enclosing class:
MFAStore
Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.hash()Returns the value of thehashrecord component.final inthashCode()Returns a hash code value for this object.intseq()Returns the value of theseqrecord component.toString()Gets the code without its hash, for a log or a debugger.
Constructor Details
Code
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes.seq
hash