Answer.DefaultImpls| Constructor and Description |
|---|
ConstantAnswer(T constantValue)
Returns one constant reply
|
| Modifier and Type | Method and Description |
|---|---|
T |
answer(Call call) |
T |
component1() |
ConstantAnswer<T> |
copy(T constantValue)
Returns one constant reply
|
boolean |
equals(java.lang.Object p) |
T |
getConstantValue() |
int |
hashCode() |
java.lang.String |
toString() |
public T answer(Call call)
public java.lang.String toString()
public T getConstantValue()
public T component1()
public ConstantAnswer<T> copy(T constantValue)
Returns one constant reply
public int hashCode()
public boolean equals(java.lang.Object p)