Lines Matching refs:value
43 private String value;
46 SimpleCompletion(String value, String message) {
47 if (value == null || message == null)
49 this.value = value;
54 return value;
64 return "[\"" + value + "\", \"" + message + "\"]";
70 * Returns a completion of the value and message.
72 * @param value the text of the completion
74 * @return a completion of the provided value and message
76 public static Completion of(String value, String message) {
77 return new SimpleCompletion(value, message);
81 * Returns a completion of the value and an empty message
83 * @param value the text of the completion
84 * @return a completion of the value and an empty message
86 public static Completion of(String value) {
87 return new SimpleCompletion(value, "");