APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.javafx.fxml.expression

public final Class BinaryExpression<U, T>

extends Expression<T>
Class Inheritance
Imports
java.util.List, java.util.function.BiFunction

Abstract base class for binary expressions.

Field Summary

Modifier and TypeField and Description
private final BiFunction<U, U, T>
private final Expression<U>
private final Expression<U>

Constructor Summary

AccessConstructor and Description
public
BinaryExpression(Expression<U> left, Expression<U> right, BiFunction<U, U, T> evaluator)

Method Summary

Modifier and TypeMethod and Description
public T
evaluate(Object namespace)

Implements abstract com.sun.javafx.fxml.expression.Expression.evaluate.

Evaluates the expression.

protected void
getArguments(List<KeyPath> arguments)

Implements abstract com.sun.javafx.fxml.expression.Expression.getArguments.

Populates a list of arguments to this expression.

public boolean
isDefined(Object namespace)

Implements abstract com.sun.javafx.fxml.expression.Expression.isDefined.

Tests whether the expression is defined.

public boolean
isLValue()

Implements abstract com.sun.javafx.fxml.expression.Expression.isLValue.

Tests whether the expression represents an l-value (i.e. can be assigned to).

public void
update(Object namespace, Object value)

Implements abstract com.sun.javafx.fxml.expression.Expression.update.

Updates the expression value.

Inherited from com.sun.javafx.fxml.expression.Expression:
addaddaddaddandandandanddividedividedividedivideequalToequalToequalToequalTogetgetgetArgumentsgreaterThangreaterThangreaterThangreaterThangreaterThanOrEqualTogreaterThanOrEqualTogreaterThanOrEqualTogreaterThanOrEqualToisDefinedisDefinedlessThanlessThanlessThanlessThanlessThanOrEqualTolessThanOrEqualTolessThanOrEqualTolessThanOrEqualTomodulomodulomodulomodulomultiplymultiplymultiplymultiplynegatenegatenotnotnotEqualTonotEqualTonotEqualTonotEqualToororororsetsetsubtractsubtractsubtractsubtractvalueOf

Field Detail

evaluatorback to summary
private final BiFunction<U, U, T> evaluator
leftback to summary
private final Expression<U> left

Constructor Detail

BinaryExpressionback to summary
public BinaryExpression(Expression<U> left, Expression<U> right, BiFunction<U, U, T> evaluator)

Method Detail

evaluateback to summary
public T evaluate(Object namespace)

Implements abstract com.sun.javafx.fxml.expression.Expression.evaluate.

Doc from com.sun.javafx.fxml.expression.Expression.evaluate.

Evaluates the expression.

Annotations
@Override
getArgumentsback to summary
protected void getArguments(List<KeyPath> arguments)

Implements abstract com.sun.javafx.fxml.expression.Expression.getArguments.

Doc from com.sun.javafx.fxml.expression.Expression.getArguments.

Populates a list of arguments to this expression.

Annotations
@Override
isDefinedback to summary
public boolean isDefined(Object namespace)

Implements abstract com.sun.javafx.fxml.expression.Expression.isDefined.

Doc from com.sun.javafx.fxml.expression.Expression.isDefined.

Tests whether the expression is defined.

Annotations
@Override
isLValueback to summary
public boolean isLValue()

Implements abstract com.sun.javafx.fxml.expression.Expression.isLValue.

Doc from com.sun.javafx.fxml.expression.Expression.isLValue.

Tests whether the expression represents an l-value (i.e. can be assigned to).

Annotations
@Override
updateback to summary
public void update(Object namespace, Object value)

Implements abstract com.sun.javafx.fxml.expression.Expression.update.

Doc from com.sun.javafx.fxml.expression.Expression.update.

Updates the expression value.

Annotations
@Override