Record Class SyllabificationAlignmentEditorView.ScEditData
java.lang.Object
java.lang.Record
ca.phon.app.session.editor.view.syllabification_and_alignment.SyllabificationAlignmentEditorView.ScEditData
- Enclosing class:
SyllabificationAlignmentEditorView
public static record SyllabificationAlignmentEditorView.ScEditData(IPATranscript ipa, int eleIdx, SyllableConstituentType oldType, SyllableConstituentType newType)
extends Record
-
Constructor Summary
ConstructorDescriptionScEditData
(IPATranscript ipa, int eleIdx, SyllableConstituentType oldType, SyllableConstituentType newType) Creates an instance of aScEditData
record class. -
Method Summary
Modifier and TypeMethodDescriptionint
eleIdx()
Returns the value of theeleIdx
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.ipa()
Returns the value of theipa
record component.newType()
Returns the value of thenewType
record component.oldType()
Returns the value of theoldType
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ScEditData
public ScEditData(IPATranscript ipa, int eleIdx, SyllableConstituentType oldType, SyllableConstituentType newType) Creates an instance of aScEditData
record class.- Parameters:
ipa
- the value for theipa
record componenteleIdx
- the value for theeleIdx
record componentoldType
- the value for theoldType
record componentnewType
- the value for thenewType
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
ipa
Returns the value of theipa
record component.- Returns:
- the value of the
ipa
record component
-
eleIdx
public int eleIdx()Returns the value of theeleIdx
record component.- Returns:
- the value of the
eleIdx
record component
-
oldType
Returns the value of theoldType
record component.- Returns:
- the value of the
oldType
record component
-
newType
Returns the value of thenewType
record component.- Returns:
- the value of the
newType
record component
-