Class BaseNAryArbitraryOperator

All Implemented Interfaces:
io.github.mmm.code.api.item.CodeItem, io.github.mmm.code.api.operator.CodeNAryArbitraryOperator, io.github.mmm.code.api.operator.CodeNAryNumericOperator, io.github.mmm.code.api.operator.CodeNAryOperator, io.github.mmm.code.api.operator.CodeOperator

public final class BaseNAryArbitraryOperator extends BaseNAryOperator implements io.github.mmm.code.api.operator.CodeNAryArbitraryOperator
Base implementation of CodeNAryArbitraryOperator.
Since:
1.0.0
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Instance for CodeNAryArbitraryOperator.NAME_ADD.

    Fields inherited from interface io.github.mmm.code.api.item.CodeItem

    DEFAULT_INDENT, DEFAULT_NEWLINE

    Fields inherited from interface io.github.mmm.code.api.operator.CodeNAryArbitraryOperator

    NAME_ADD

    Fields inherited from interface io.github.mmm.code.api.operator.CodeNAryNumericOperator

    NAME_DIV, NAME_MOD, NAME_MUL, NAME_SHIFT_LEFT, NAME_SHIFT_RIGHT_SIGNED, NAME_SHIFT_RIGHT_UNSIGNED, NAME_SUB
  • Constructor Summary

    Constructors
    Constructor
    Description
    The constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    static io.github.mmm.code.api.operator.CodeNAryArbitraryOperator
    of(String name)
     

    Methods inherited from class BaseNAryOperator

    isComparison, isNAry, isUnary

    Methods inherited from class BaseOperator

    doWrite, getName, of, toString

    Methods inherited from class BaseItem

    getOwningType, getSourceCode, getSpaces, write

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface io.github.mmm.code.api.item.CodeItem

    getLanguage, getSourceCode, write, write, write, write, write, write

    Methods inherited from interface io.github.mmm.code.api.operator.CodeNAryNumericOperator

    isNumeric

    Methods inherited from interface io.github.mmm.code.api.operator.CodeNAryOperator

    isNAry

    Methods inherited from interface io.github.mmm.code.api.operator.CodeOperator

    getName, isComparison, isUnary
  • Field Details

  • Constructor Details

    • BaseNAryArbitraryOperator

      public BaseNAryArbitraryOperator(String name)
      The constructor.
      Parameters:
      name - the name.
  • Method Details

    • isBoolean

      public boolean isBoolean()
      Specified by:
      isBoolean in interface io.github.mmm.code.api.operator.CodeNAryOperator
    • of

      public static io.github.mmm.code.api.operator.CodeNAryArbitraryOperator of(String name)
      Parameters:
      name - the name of the requested CodeNAryArbitraryOperator.
      Returns:
      the CodeNAryArbitraryOperator or null if not found.