Record Class IsoTreeJumbo.TreeDescription
java.lang.Object
java.lang.Record
zombie.iso.IsoTreeJumbo.TreeDescription
- Enclosing class:
IsoTreeJumbo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionburned()Returns the value of theburnedrecord component.Returns the value of theburnedFrozenrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.main()Returns the value of themainrecord component.stump()Returns the value of thestumprecord component.final StringtoString()Returns a string representation of this record class.treetop()Returns the value of thetreetoprecord component.trunk()Returns the value of thetrunkrecord component.
-
Constructor Details
-
TreeDescription
public TreeDescription(String main, String treetop, String trunk, String stump, String burned, String burnedFrozen) Creates an instance of aTreeDescriptionrecord class.- Parameters:
main- the value for themainrecord componenttreetop- the value for thetreetoprecord componenttrunk- the value for thetrunkrecord componentstump- the value for thestumprecord componentburned- the value for theburnedrecord componentburnedFrozen- the value for theburnedFrozenrecord 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). -
main
Returns the value of themainrecord component.- Returns:
- the value of the
mainrecord component
-
treetop
Returns the value of thetreetoprecord component.- Returns:
- the value of the
treetoprecord component
-
trunk
Returns the value of thetrunkrecord component.- Returns:
- the value of the
trunkrecord component
-
stump
Returns the value of thestumprecord component.- Returns:
- the value of the
stumprecord component
-
burned
Returns the value of theburnedrecord component.- Returns:
- the value of the
burnedrecord component
-
burnedFrozen
Returns the value of theburnedFrozenrecord component.- Returns:
- the value of the
burnedFrozenrecord component
-