Record Class PhoneMapDisplay.AlignmentChangeData
java.lang.Object
java.lang.Record
ca.phon.ui.ipa.PhoneMapDisplay.AlignmentChangeData
- Enclosing class:
PhoneMapDisplay
public static record PhoneMapDisplay.AlignmentChangeData(Integer wordIndex, Integer[][] alignment)
extends Record
Class for alignment change events
-
Constructor Summary
ConstructorsConstructorDescriptionAlignmentChangeData
(Integer wordIndex, Integer[][] alignment) Creates an instance of aAlignmentChangeData
record class. -
Method Summary
Modifier and TypeMethodDescriptionInteger[][]
Returns the value of thealignment
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.Returns the value of thewordIndex
record component.
-
Constructor Details
-
AlignmentChangeData
-
-
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)
. -
wordIndex
Returns the value of thewordIndex
record component.- Returns:
- the value of the
wordIndex
record component
-
alignment
Returns the value of thealignment
record component.- Returns:
- the value of the
alignment
record component
-