public class OperatorFactory
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static BinaryOperator |
getBinaryOperator(int operatorId)
Returns the binary operator identified by the given operator ID.
|
static UnaryOperator |
getUnaryOperator(int operatorId)
Returns the unary operator identified by the given operator ID.
|
@Nullable public static UnaryOperator getUnaryOperator(int operatorId)
operatorId - the operator ID.null if the ID is unknown.@Nullable public static BinaryOperator getBinaryOperator(int operatorId)
operatorId - the operator ID.null if the ID is unknown.