Package org.geysermc.geyser.dump
Record Class DumpInfo.HashInfo
java.lang.Object
java.lang.Record
org.geysermc.geyser.dump.DumpInfo.HashInfo
- Enclosing class:
- DumpInfo
-
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.md5Hash()Returns the value of themd5Hashrecord component.Returns the value of thesha256Hashrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HashInfo
Creates an instance of aHashInforecord class.- Parameters:
md5Hash- the value for themd5Hashrecord componentsha256Hash- the value for thesha256Hashrecord 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). -
md5Hash
Returns the value of themd5Hashrecord component.- Returns:
- the value of the
md5Hashrecord component
-
sha256Hash
Returns the value of thesha256Hashrecord component.- Returns:
- the value of the
sha256Hashrecord component
-