Record Class SyllabificationDisplay.HiatusChangeData
java.lang.Object
java.lang.Record
ca.phon.ui.ipa.SyllabificationDisplay.HiatusChangeData
- Record Components:
position1-position2-hiatus-
- Enclosing class:
SyllabificationDisplay
public static record SyllabificationDisplay.HiatusChangeData(int position1, int position2, boolean hiatus)
extends Record
Hiatus change data. Sent during hiatus change events.
-
Constructor Summary
ConstructorsConstructorDescriptionHiatusChangeData(int position1, int position2, boolean hiatus) Creates an instance of aHiatusChangeDatarecord 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.booleanhiatus()Returns the value of thehiatusrecord component.intReturns the value of theposition1record component.intReturns the value of theposition2record component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HiatusChangeData
public HiatusChangeData(int position1, int position2, boolean hiatus) Creates an instance of aHiatusChangeDatarecord 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. -
position1
-
position2
-
hiatus
-