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