Record Class SocialRepository.Settings
java.lang.Object
java.lang.Record
net.flectone.pulse.persistence.repository.SocialRepository.Settings
- Record Components:
values- every stored setting, keyed by its stored key
- Enclosing interface:
SocialRepository
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SocialRepository.SettingsSettings for a player who has changed nothing. -
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.final StringtoString()Returns a string representation of this record class.values()Returns the value of thevaluesrecord component.withValues(Map<String, String> values)
-
Field Details
-
EMPTY
Settings for a player who has changed nothing.
-
-
Constructor Details
-
Settings
-
-
Method Details
-
withValues
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
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). -
values
-