Record Class IBlockGeneratorWithSections.Sections
java.lang.Object
java.lang.Record
net.mcreator.blockly.IBlockGeneratorWithSections.Sections
- Enclosing interface:
IBlockGeneratorWithSections
public static record IBlockGeneratorWithSections.Sections(AtomicReference<String> head, AtomicReference<String> tail)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSections(AtomicReference<String> head, AtomicReference<String> tail) Creates an instance of aSectionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.head()Returns the value of theheadrecord component.tail()Returns the value of thetailrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Sections
Creates an instance of aSectionsrecord class.- Parameters:
head- the value for theheadrecord componenttail- the value for thetailrecord 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). -
head
Returns the value of theheadrecord component.- Returns:
- the value of the
headrecord component
-
tail
Returns the value of thetailrecord component.- Returns:
- the value of the
tailrecord component
-