类 OpPlus

  • 所有已实现的接口:
    Opcodes, SpelNode

    public class OpPlus
    extends Operator
    The plus operator will:
    • add numbers
    • concatenate strings

    It can be used as a unary operator for numbers. The standard promotions are performed when the operand types vary (double+int=double). For other options it defers to the registered overloader.

    从以下版本开始:
    3.0
    作者:
    Andy Clement, Juergen Hoeller, Ivo Smid, Giovanni Dall'Oglio Risso