|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gate.util.AnnotationDiffer.PairingImpl
public class AnnotationDiffer.PairingImpl
Represents a pairing of a key annotation with a response annotation and the associated score for that pairing.
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getScore()
getScore
in interface AnnotationDiffer.Pairing
public int getKeyIndex()
getKeyIndex
in interface AnnotationDiffer.Pairing
public int getResponseIndex()
getResponseIndex
in interface AnnotationDiffer.Pairing
public int getValue()
getValue
in interface AnnotationDiffer.Pairing
public Annotation getKey()
AnnotationDiffer.Pairing
getKey
in interface AnnotationDiffer.Pairing
Annotation
object.public Annotation getResponse()
AnnotationDiffer.Pairing
getResponse
in interface AnnotationDiffer.Pairing
Annotation
object.public int getType()
AnnotationDiffer.Pairing
AnnotationDiffer.CORRECT_TYPE
,
AnnotationDiffer.PARTIALLY_CORRECT_TYPE
, AnnotationDiffer.SPURIOUS_TYPE
or
AnnotationDiffer.MISSING_TYPE
,
getType
in interface AnnotationDiffer.Pairing
public void setType(int type)
setType
in interface AnnotationDiffer.Pairing
public void consume()
AnnotationDiffer.possibleChoices
as well.
public void remove()
remove
in interface AnnotationDiffer.Pairing
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |