Record Class SocialRepository.Settings
java.lang.Object
java.lang.Record
net.flectone.pulse.data.repository.SocialRepository.Settings
- Enclosing class:
SocialRepository
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleans()Returns the value of thebooleansrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.texts()Returns the value of thetextsrecord component.final StringtoString()Returns a string representation of this record class.withBooleans(Map<String, Boolean> booleans) withTexts(Map<SettingText, String> texts)
-
Field Details
-
EMPTY
-
-
Constructor Details
-
Settings
-
-
Method Details
-
withBooleans
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withTexts
- 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). -
booleans
-
texts
Returns the value of thetextsrecord component.- Returns:
- the value of the
textsrecord component
-