Record Class Delivery
java.lang.Object
java.lang.Record
com.ultikits.ultitools.ui.Delivery
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<org.bukkit.inventory.ItemStack> The field for thedroppedrecord component.private final List<org.bukkit.inventory.ItemStack> The field for thegivenrecord component.private final List<org.bukkit.inventory.ItemStack> The field for theundeliveredrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.bukkit.inventory.ItemStack> dropped()Items dropped at the player's feet; copies.final booleanIndicates whether some other object is "equal to" this one.List<org.bukkit.inventory.ItemStack> given()Items inserted into the inventory; copies.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.List<org.bukkit.inventory.ItemStack> Items that could not be delivered; copies.
-
Field Details
-
given
The field for thegivenrecord component. -
dropped
The field for thedroppedrecord component. -
undelivered
The field for theundeliveredrecord component.
-
-
Constructor Details
-
Delivery
-
-
Method Details
-
given
Items inserted into the inventory; copies. -
dropped
Items dropped at the player's feet; copies. -
undelivered
Items that could not be delivered; copies. -
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).
-