| Constructor and Description |
|---|
StringValue(java.lang.String value,
java.util.List<ai.tock.nlp.entity.ValueWithProbability> candidates)
A value that contains a String with optionally the list of other acceptable values.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
component1() |
java.util.List<ai.tock.nlp.entity.ValueWithProbability> |
component2() |
StringValue |
copy(java.lang.String value,
java.util.List<ai.tock.nlp.entity.ValueWithProbability> candidates)
A value that contains a String with optionally the list of other acceptable values.
|
boolean |
equals(java.lang.Object p) |
java.util.List<ai.tock.nlp.entity.ValueWithProbability> |
getCandidates() |
java.lang.String |
getValue() |
int |
hashCode() |
java.lang.String |
toString() |
public StringValue(@NotNull
java.lang.String value,
@NotNull
java.util.List<ai.tock.nlp.entity.ValueWithProbability> candidates)
A value that contains a String with optionally the list of other acceptable values.
@NotNull public java.lang.String getValue()
@NotNull public java.util.List<ai.tock.nlp.entity.ValueWithProbability> getCandidates()
@NotNull public java.lang.String component1()
@NotNull public java.util.List<ai.tock.nlp.entity.ValueWithProbability> component2()
@NotNull public StringValue copy(@NotNull java.lang.String value, @NotNull java.util.List<ai.tock.nlp.entity.ValueWithProbability> candidates)
A value that contains a String with optionally the list of other acceptable values.
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)