Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Operators

Certain operators are defined for use with the rule language grammar.

Operators in this list are also used in the Java language and work the same as the Java operators:

Operators in the TIBCO BusinessEvents Rule Language
Operator | Notes
--- | ---
    ++ ––
| increment, decrement
    + -
| unary plus, unary minus
    * \ %
| multiplication, division, remainder
    + -
| addition, subtraction
    > < >= <=
| greater than, less than, greater than or equal to, less than or equal to
    =
| assignment
    == !=
| equality, inequality (Does deep string comparison, unlike Java.)
    && || !
| boolean AND, OR, NOT
    -= += *= /= %=
| combined operation and assignment. As an example, `expr += 2;` is the same as expr = expr + 2; `+=` works on strings as well as numbers. For example, you have a variable String s = "abc"; and then you use`s+= "def";` and so the value of `s` becomes `"abcdef"`
    instanceof
| Tests whether an object is an instance of specified type. Restricted to use with concepts and events. Example:
    boolean b = customer instanceof USCustomer;
    .
| property access
    @
| attribute access

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.