All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.objectspace.jgl.predicates.LogicalOr

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

public final class LogicalOr
extends Object
implements BinaryPredicate
LogicalOr is a binary predicate that returns true if either operand is equal to Boolean.TRUE.

See Also:
LogicalAnd

Constructor Index

 o LogicalOr()

Method Index

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

Constructors

 o LogicalOr
 public LogicalOr()

Methods

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

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 either operand is equal to Boolean.TRUE.

All Packages  Class Hierarchy  This Package  Previous  Next  Index