Computation Class
- java.
lang. Object
public class Computation extends Answer
Defines an expression and its answer.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
expression()
Get the expression value. |
String |
value()
Get the value value. |
Computation |
withExpression(String expression)
Set the expression value. |
Computation |
withValue(String value)
Set the value value. |
Inherited Members
Method Details
expression
public String expression()
Get the expression value.
Returns:
the expression value
value
public String value()
Get the value value.
Returns:
the value value
withExpression
public Computation withExpression(String expression)
Set the expression value.
Parameters:
expression
- the expression value to set
Returns:
the Computation object itself.
withValue
public Computation withValue(String value)
Set the value value.
Parameters:
value
- the value value to set
Returns:
the Computation object itself.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java