Record Class AllowlistBounce
java.lang.Object
java.lang.Record
com.djrapitops.plan.delivery.domain.datatransfer.AllowlistBounce
-
Constructor Summary
ConstructorsConstructorDescriptionAllowlistBounce(UUID playerUUID, String playerName, int count, long lastTime) Creates an instance of aAllowlistBouncerecord class. -
Method Summary
Modifier and TypeMethodDescriptionintcount()Returns the value of thecountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longlastTime()Returns the value of thelastTimerecord component.Returns the value of theplayerNamerecord component.Returns the value of theplayerUUIDrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AllowlistBounce
Creates an instance of aAllowlistBouncerecord class.- Parameters:
playerUUID- the value for theplayerUUIDrecord componentplayerName- the value for theplayerNamerecord componentcount- the value for thecountrecord componentlastTime- the value for thelastTimerecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
playerUUID
Returns the value of theplayerUUIDrecord component.- Returns:
- the value of the
playerUUIDrecord component
-
playerName
Returns the value of theplayerNamerecord component.- Returns:
- the value of the
playerNamerecord component
-
count
public int count()Returns the value of thecountrecord component.- Returns:
- the value of the
countrecord component
-
lastTime
public long lastTime()Returns the value of thelastTimerecord component.- Returns:
- the value of the
lastTimerecord component
-