| Constructor | Description | 
|---|---|
Correction() | 
| Modifier and Type | Method | Description | 
|---|---|---|
int | 
getRank() | 
 Get the rank of the correction. 
 | 
double | 
getRelevance() | 
 Get the relevance of this correction. 
 | 
String | 
getText() | 
 Get the suggested correction. 
 | 
String | 
getTicket() | 
 Get the notification ticket of this correction. 
 | 
static Result.Correction | 
mock(String text,
    String ticket,
    int rank,
    double relevance) | 
 Creates a new Correction object for test purposes. 
 | 
String | 
toString() | 
public static Result.Correction mock(String text, String ticket, int rank, double relevance)
text - the correction textticket - the correction ticketrank - the correction rankrelevance - the correction relevancepublic String getText()
public int getRank()
public double getRelevance()
public String getTicket()
Copyright © 2021 Apptus Technologies AB. All rights reserved.