ExpressionTree
, Tree
public interface BinaryTree extends ExpressionTree
getKind
to determine the kind of operator.
For example:
leftOperand operator rightOperand
Modifier and Type | Method | Description |
---|---|---|
ExpressionTree |
getLeftOperand() |
Returns the left (first) operand of the expression.
|
ExpressionTree |
getRightOperand() |
Returns the right (second) operand of the expression.
|
ExpressionTree getLeftOperand()
ExpressionTree getRightOperand()
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2005, 2016, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b147-1