Parallel Template Library
PTL™ 4.0
- java.lang.Object
-
- Progeneric.Ptl.Functors.LogicalAnd
-
- All Implemented Interfaces:
- IFunc2Arg<java.lang.Boolean,java.lang.Boolean,java.lang.Boolean>
public class LogicalAnd
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.
-
-
Constructor Summary
Constructors
| Constructor and Description |
LogicalAnd() |
-
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.
|
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
LogicalAnd
public LogicalAnd()
-
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.
- Specified by:
Call in interface IFunc2Arg<java.lang.Boolean,java.lang.Boolean,java.lang.Boolean>
- Parameters:
arg1 - The left operand in the conjunction to be tested.arg2 - The right operand in the conjunction to be tested.
- Returns:
- True if arg1 is true and arg2 is true; otherwise, false.
Parallel Template Library
PTL™ 4.0
Copyright© 2012 Progeneric Systems, Inc. All Rights Reserved.