Record Class PackMeta.Overlay
java.lang.Object
java.lang.Record
kr.toxicity.model.api.pack.PackMeta.Overlay
- Record Components:
entries- the list of overlay entries
- Enclosing class:
PackMeta
Represents the 'overlays' section of the metadata.
- Since:
- 1.15.2
-
Constructor Summary
ConstructorsConstructorDescriptionOverlay(@Nullable List<PackMeta.OverlayEntry> entries) Creates an instance of aOverlayrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable List<PackMeta.OverlayEntry> entries()Returns the value of theentriesrecord 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
-
Overlay
Creates an instance of aOverlayrecord class.- Parameters:
entries- the value for theentriesrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
entries
-