Record Class MindustryDisplay.Processor
java.lang.Object
java.lang.Record
com.xpdustry.nohorny.common.MindustryDisplay.Processor
- Enclosing class:
MindustryDisplay
public static record MindustryDisplay.Processor(List<DrawInstruction> instructions, @Nullable MindustryAuthor author)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionProcessor(List<DrawInstruction> instructions, @Nullable MindustryAuthor author) Creates an instance of aProcessorrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable MindustryAuthorauthor()Returns the value of theauthorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinstructionsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Processor
Creates an instance of aProcessorrecord class.- Parameters:
instructions- the value for theinstructionsrecord componentauthor- the value for theauthorrecord 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). -
instructions
Returns the value of theinstructionsrecord component.- Returns:
- the value of the
instructionsrecord component
-
author
Returns the value of theauthorrecord component.- Returns:
- the value of the
authorrecord component
-