Record Class KeepTogether
java.lang.Object
java.lang.Record
io.leandev.appfuse.report.node.KeepTogether
- Record Components:
id- 選填識別blocks- 內容box- 選填的框樣式覆寫;null表示不畫框
- All Implemented Interfaces:
Block
-
Constructor Summary
ConstructorsConstructorDescriptionKeepTogether(String id, List<Block> blocks, BoxStyle box) Creates an instance of aKeepTogetherrecord class. -
Method Summary
Modifier and TypeMethodDescriptionblocks()Returns the value of theblocksrecord component.box()Returns the value of theboxrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
KeepTogether
-
-
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). -
id
-
blocks
-
box
-