Contents
Record Class VolumeEntry.GroupEntityKey
java.lang.Object
java.lang.Record
com.hypixel.hytale.builtin.triggervolumes.manager.VolumeEntry.GroupEntityKey
- Enclosing class:
VolumeEntry
-
Constructor Summary
ConstructorsConstructorDescriptionGroupEntityKey(String groupId, int entry, UUID entityId) Creates an instance of aGroupEntityKeyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionentityId()Returns the value of theentityIdrecord component.intentry()Returns the value of theentryrecord component.final booleanIndicates whether some other object is "equal to" this one.groupId()Returns the value of thegroupIdrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GroupEntityKey
Creates an instance of aGroupEntityKeyrecord class.- Parameters:
groupId- the value for thegroupIdrecord componententry- the value for theentryrecord componententityId- the value for theentityIdrecord 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. -
groupId
Returns the value of thegroupIdrecord component.- Returns:
- the value of the
groupIdrecord component
-
entry
public int entry()Returns the value of theentryrecord component.- Returns:
- the value of the
entryrecord component
-
entityId
Returns the value of theentityIdrecord component.- Returns:
- the value of the
entityIdrecord component
-