Record Class Localization.Message.Status.Players
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Localization.Message.Status.Players
- All Implemented Interfaces:
LocalizationSetting
- Enclosing class:
Localization.Message.Status
public static record Localization.Message.Status.Players(List<Localization.Message.Status.Players.Sample> samples, String full)
extends Record
implements LocalizationSetting
- Since:
- 1.7.1
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionPlayers(List<Localization.Message.Status.Players.Sample> samples, String full) Creates an instance of aPlayersrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanIndicates whether some other object is "equal to" this one.full()Returns the value of thefullrecord component.final inthashCode()Returns a hash code value for this object.samples()Returns the value of thesamplesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Players
Creates an instance of aPlayersrecord class.- Parameters:
samples- the value for thesamplesrecord componentfull- the value for thefullrecord component
-
-
Method Details
-
builder
-
toBuilder
-
withSamples
public Localization.Message.Status.Players withSamples(List<Localization.Message.Status.Players.Sample> samples) - Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withFull
- 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). -
samples
Returns the value of thesamplesrecord component.- Returns:
- the value of the
samplesrecord component
-
full
Returns the value of thefullrecord component.- Returns:
- the value of the
fullrecord component
-