# Interface: com.pnfsoftware.jeb.core.units.code.java.IJavaConditionalExpression

Java AST interface to represent a conditional expression. 

 Conditional expressions in Java use the ternary operator `?:`. 

 Example: 

```

 a ? b: c
 
```

## Method: duplicate
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaConditionalExpression`


## Method: getExpressionFalse
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaExpression`

Description: Get the 'evaluated on false' right expression.
return: the left expression

## Method: getExpressionTrue
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaExpression`

Description: Get the 'evaluated on true' right expression.
return: the left expression

## Method: getPredicate
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaExpression`

Description: Get the 'condition' left expression.
return: the left expression

## Method: setExpressionFalse
- parameter: `expF`, type: `com.pnfsoftware.jeb.core.units.code.java.IJavaExpression`

Description: Set the expression evaluated when the predicate is false.
parameter: expF: false\-branch expression

## Method: setExpressionTrue
- parameter: `expT`, type: `com.pnfsoftware.jeb.core.units.code.java.IJavaExpression`

Description: Set the expression evaluated when the predicate is true.
parameter: expT: true\-branch expression

## Method: setPredicate
- parameter: `pred`, type: `com.pnfsoftware.jeb.core.units.code.java.IJavaExpression`

Description: Set the predicate expression.
parameter: pred: predicate expression

