public interface Suggestion extends Comparable<Suggestion>
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getLabel() |
String |
getPrefix() |
String |
getValue() |
Suggestion |
withDescription(String description)
Creates a new Suggestion based on this suggestion but changing the description with the specified
|
Suggestion |
withPrefix(String prefix)
Creates a new Suggestion based on this but changing the prefix
|
Suggestion |
withValue(String value)
Creates a new Suggestion based on this suggestion but changing the value with the specified
|
compareToString getLabel()
String getDescription()
String getValue()
String getPrefix()
Suggestion withDescription(String description)
description - The new descriptionSuggestion withValue(String value)
value - The new valueSuggestion withPrefix(String prefix)
prefix - The prefixCopyright © 2017. All rights reserved.