Package webb.shared.dtos.old
Record Class Player_OLD
java.lang.Object
java.lang.Record
webb.shared.dtos.old.Player_OLD
Deprecated.
-
Constructor Summary
ConstructorsConstructorDescriptionPlayer_OLD(String username) Deprecated.Creates an instance of aPlayer_OLDrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Indicates whether some other object is "equal to" this one.final inthashCode()Deprecated.Returns a hash code value for this object.final StringtoString()Deprecated.Returns a string representation of this record class.username()Deprecated.Returns the value of theusernamerecord component.
-
Constructor Details
-
Player_OLD
Deprecated.Creates an instance of aPlayer_OLDrecord class.- Parameters:
username- the value for theusernamerecord component
-
-
Method Details
-
equals
Deprecated.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). -
toString
Deprecated.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()Deprecated.Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
username
Deprecated.Returns the value of theusernamerecord component.- Returns:
- the value of the
usernamerecord component
-