Class BaseNAryHybridOperator

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

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

    Fields
    Modifier and Type
    Field
    Description
    Instance for CodeNAryHybridOperator.NAME_BIT_AND.
    Instance for CodeNAryHybridOperator.NAME_BIT_OR.
    Instance for CodeNAryHybridOperator.NAME_XOR.

    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.CodeNAryBooleanOperator

    NAME_AND, NAME_OR

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

    NAME_BIT_AND, NAME_BIT_OR, NAME_XOR

    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
    static io.github.mmm.code.api.operator.CodeNAryHybridOperator
    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.CodeNAryBooleanOperator

    isBoolean

    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

    • BaseNAryHybridOperator

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

    • of

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