Interface CodeUnaryOperator
- All Superinterfaces:
CodeItem, CodeOperator
CodeOperator that is unary and takes exactly one single argument.- Since:
- 1.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringNameof bitwise complement operator.static final StringNameof negation operator.Fields inherited from interface CodeItem
DEFAULT_INDENT, DEFAULT_NEWLINE -
Method Summary
Methods inherited from interface CodeItem
getLanguage, getSourceCode, write, write, write, write, write, writeMethods inherited from interface CodeOperator
getName, isComparison, isNAry
-
Field Details
-
NAME_BIT_NOT
-
NAME_NOT
-
-
Method Details
-
isUnary
default boolean isUnary()- Specified by:
isUnaryin interfaceCodeOperator- Returns:
trueif this is aCodeUnaryOperatorthat takes exactly one argument,falseotherwise.
-