Record Class QuotePart
java.lang.Object
java.lang.Record
org.libxmq.imp.QuotePart
- Record Components:
start- The start index of the part.stop- The stop index of the part.msq- The number of consecutive single quotes.mdq- The number of consecutive double quotes.ent- Whether the part is an entity.
Describes how a part of a quote is quoted.
-
Constructor Summary
ConstructorsConstructorDescriptionQuotePart(int start, int stop, int msq, int mdq, boolean ent) Creates an instance of aQuotePartrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanent()Returns the value of theentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intmdq()Returns the value of themdqrecord component.intmsq()Returns the value of themsqrecord component.intstart()Returns the value of thestartrecord component.intstop()Returns the value of thestoprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
QuotePart
public QuotePart(int start, int stop, int msq, int mdq, boolean ent) Creates an instance of aQuotePartrecord class.
-
-
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 with thecomparemethod from their corresponding wrapper classes. -
start
-
stop
-
msq
-
mdq
-
ent
-