java.lang.Object
java.lang.Record
dev.qilletni.api.lang.docs.structure.DocumentedItem
- Record Components:
itemBeingDocumented- The item actually being documentedinnerDoc- The structured text of the doc string
-
Constructor Summary
ConstructorsConstructorDescriptionDocumentedItem(DocumentedType itemBeingDocumented, InnerDoc innerDoc) Creates an instance of aDocumentedItemrecord 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.innerDoc()Returns the value of theinnerDocrecord component.Returns the value of theitemBeingDocumentedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DocumentedItem
Creates an instance of aDocumentedItemrecord class.- Parameters:
itemBeingDocumented- the value for theitemBeingDocumentedrecord componentinnerDoc- the value for theinnerDocrecord 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). -
itemBeingDocumented
Returns the value of theitemBeingDocumentedrecord component.- Returns:
- the value of the
itemBeingDocumentedrecord component
-
innerDoc
-