Class BitwiseOperators.AbstractLogicalOperator
java.lang.Object
org.apache.pdfbox.pdmodel.common.function.type4.BitwiseOperators.AbstractLogicalOperator
- All Implemented Interfaces:
Operator
- Direct Known Subclasses:
BitwiseOperators.And
,BitwiseOperators.Or
,BitwiseOperators.Xor
- Enclosing class:
- BitwiseOperators
private abstract static class BitwiseOperators.AbstractLogicalOperator
extends Object
implements Operator
Abstract base class for logical operators.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract boolean
applyForBoolean
(boolean bool1, boolean bool2) protected abstract int
applyforInteger
(int int1, int int2) void
execute
(ExecutionContext context) Executes the operator.
-
Constructor Details
-
AbstractLogicalOperator
private AbstractLogicalOperator()
-
-
Method Details
-
execute
Description copied from interface:Operator
Executes the operator. The method can inspect and manipulate the stack. -
applyForBoolean
protected abstract boolean applyForBoolean(boolean bool1, boolean bool2) -
applyforInteger
protected abstract int applyforInteger(int int1, int int2)
-