public class AnnotationDiffer.PairingImpl extends Object implements AnnotationDiffer.Pairing
| Modifier and Type | Method and Description |
|---|---|
void |
consume()
Removes all mutually exclusive OTHER choices possible from
the data structures.
|
Annotation |
getKey()
Gets the key annotation of the pairing.
|
int |
getKeyIndex() |
Annotation |
getResponse()
Gets the response annotation of the pairing.
|
int |
getResponseIndex() |
int |
getScore() |
int |
getType()
Gets the type of the pairing, one of
AnnotationDiffer.CORRECT_TYPE,
AnnotationDiffer.PARTIALLY_CORRECT_TYPE, AnnotationDiffer.SPURIOUS_TYPE or
AnnotationDiffer.MISSING_TYPE, |
int |
getValue() |
void |
remove()
Removes this choice from the two lists it belongs to
|
void |
setType(int type) |
public int getScore()
getScore in interface AnnotationDiffer.Pairingpublic int getKeyIndex()
getKeyIndex in interface AnnotationDiffer.Pairingpublic int getResponseIndex()
getResponseIndex in interface AnnotationDiffer.Pairingpublic int getValue()
getValue in interface AnnotationDiffer.Pairingpublic Annotation getKey()
AnnotationDiffer.PairinggetKey in interface AnnotationDiffer.PairingAnnotation object.public Annotation getResponse()
AnnotationDiffer.PairinggetResponse in interface AnnotationDiffer.PairingAnnotation object.public int getType()
AnnotationDiffer.PairingAnnotationDiffer.CORRECT_TYPE,
AnnotationDiffer.PARTIALLY_CORRECT_TYPE, AnnotationDiffer.SPURIOUS_TYPE or
AnnotationDiffer.MISSING_TYPE,getType in interface AnnotationDiffer.Pairingpublic void setType(int type)
setType in interface AnnotationDiffer.Pairingpublic void consume()
AnnotationDiffer.possibleChoices as well.public void remove()
remove in interface AnnotationDiffer.PairingCopyright © 2024 GATE. All rights reserved.