All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.objectspace.jgl.predicates.LogicalAnd

java.lang.Object
   |
   +----COM.objectspace.jgl.predicates.LogicalAnd

public final class LogicalAnd
extends Object
implements BinaryPredicate
LogicalAnd is a binary predicate that returns true if both operands are equal to Boolean.TRUE.

See Also:
LogicalOr

Constructor Index

 o LogicalAnd()

Method Index

 o execute(Object, Object)
Perform a logical AND.

Constructors

 o LogicalAnd
 public LogicalAnd()

Methods

 o execute
 public boolean execute(Object first,
                        Object second)
Perform a logical AND.

Parameters:
first - The first operand, which must be an instance of Boolean.
second - The second operand, which must be an instance of Boolean.
Returns:
true if both operands are equal to Boolean.TRUE.

All Packages  Class Hierarchy  This Package  Previous  Next  Index