Parallel Template Library
PTL™ 4.0
- java.lang.Object
-
- Progeneric.Ptl.Functors.LogicalNand
-
- All Implemented Interfaces:
- IFunc2Arg<java.lang.Boolean,java.lang.Boolean,java.lang.Boolean>
public class LogicalNand
extends java.lang.Object
implements IFunc2Arg<java.lang.Boolean,java.lang.Boolean,java.lang.Boolean>
A binary predicate that performs the logical operation of
conjunction on specified Boolean values and negates the result.
-
-
Method Summary
Methods
| Modifier and Type |
Method and Description |
java.lang.Boolean |
Call(java.lang.Boolean arg1,
java.lang.Boolean arg2)
Performs the logical operation of conjunction on
elements of specified Boolean values and negates the result.
|
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
LogicalNand
public LogicalNand()
-
Method Detail
-
Call
public java.lang.Boolean Call(java.lang.Boolean arg1,
java.lang.Boolean arg2)
Performs the logical operation of conjunction on
elements of specified Boolean values and negates the result.
- Specified by:
Call in interface IFunc2Arg<java.lang.Boolean,java.lang.Boolean,java.lang.Boolean>
- Parameters:
arg1 - The left operand in the NAND operation to be tested.arg2 - The right operand in the NAND operation to be tested.
- Returns:
- False if arg1 is true and arg2 is true; otherwise true.
Parallel Template Library
PTL™ 4.0
Copyright© 2012 Progeneric Systems, Inc. All Rights Reserved.