next up previous contents
Next: Effect and Restrictions Up: The Java Adlib API Previous: Effect and Restrictions   Contents


A aprintf method is a I/O operation that modelled on the C printf() function. Its arguments are a control string and a list of distributed arrays. The effective prototypes are

$\displaystyle \begin{minipage}[t]{\linewidth}\small\begin{tabbing}
\verb$ void...
...1$\verb$  ...

For now a maximum of three input arrays is allowed. If more than one array is specified, all should have the same shape. But they can have any, unrelated distribution format. The aptintf method is implemented by a class APrintf. The effective public interface of the APrintf class is

$\displaystyle \begin{minipage}[t]{\linewidth}\small\verb$ public class APrintf ...
...ontrol, IOArg[] args) { ... }$\\
\verb$ . . .$\\
\verb$ }$

The control string is control. The multidimensional arrays are stored into the array args.


Bryan Carpenter 2004-06-09