** Next:** Effect and Restrictions
** Up:** The Java Adlib API
** Previous:** Effect and Restrictions
** Contents**

#

Any

A `any()` method is a boolean reduction operation for computing the logical
disjunction of the elements of a distributed array of boolean values.
This method returns true if and only if any element of `source` is true.
The prototype is
where the notation `boolean`` #`

means a multiarray of arbitrary rank
with elements of type boolean.
The `any` method is implemented by a schedule object with HPspmd
class `Any`.
This class has two constructors with arguments identical to the method above,
and has one public method with no arguments called `execute()`,
which executes the schedule.
The effective public interface of the `Any` class is
The source array is `source`. It will have elements of type `boolean`.

**Subsections**

Bryan Carpenter
2004-06-09