public class RequireBothValidStrategy extends java.lang.Object implements BinaryOperationValidityStrategy
Constructor and Description |
---|
RequireBothValidStrategy() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<BinaryOperationValidityStrategy> |
getMarkerInterface() |
boolean |
validityForBinaryOperation(ValidityAware left,
ValidityAware right)
Has to return the resulting validity for the combination of the two scalars.
|
public boolean validityForBinaryOperation(ValidityAware left, ValidityAware right)
BinaryOperationValidityStrategy
validityForBinaryOperation
in interface BinaryOperationValidityStrategy
left
- the left operand of a binary operationright
- the right operand of a binary operationpublic java.lang.Class<BinaryOperationValidityStrategy> getMarkerInterface()
getMarkerInterface
in interface Option<ManipulationOption>