Contents
Record Class VolumeEntry.EntryEntityKey
java.lang.Object
java.lang.Record
com.hypixel.hytale.builtin.triggervolumes.manager.VolumeEntry.EntryEntityKey
- Enclosing class:
VolumeEntry
-
Constructor Summary
ConstructorsConstructorDescriptionEntryEntityKey(int entry, UUID entityId) Creates an instance of aEntryEntityKeyrecord 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.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EntryEntityKey
Creates an instance of aEntryEntityKeyrecord class.- Parameters:
entry- 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. -
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
-