Record Class YggdrasilServicesKeyInfo.KeyData
java.lang.Object
java.lang.Record
com.mojang.authlib.yggdrasil.YggdrasilServicesKeyInfo.KeyData
- Enclosing class:
YggdrasilServicesKeyInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ByteBufferThe field for thepublicKeyrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateKeyData(ByteBuffer publicKey) Creates an instance of aKeyDatarecord 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.Returns the value of thepublicKeyrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
publicKey
The field for thepublicKeyrecord component.
-
-
Constructor Details
-
KeyData
Creates an instance of aKeyDatarecord class.- Parameters:
publicKey- the value for thepublicKeyrecord 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 withObjects::equals(Object,Object). -
publicKey
Returns the value of thepublicKeyrecord component.- Returns:
- the value of the
publicKeyrecord component
-