Record Class CommentBlock
java.lang.Object
java.lang.Record
pro.verron.asciidoc.core.CommentBlock
- Record Components:
comment- the text of the comment line
- All Implemented Interfaces:
Block
-
Constructor Summary
ConstructorsConstructorDescriptionCommentBlock(String comment) Creates an instance of aCommentBlockrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncomment()Returns the value of thecommentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intsize()Returns the content size of this block.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CommentBlock
-
-
Method Details
-
size
-
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). -
comment
-