org.dishevelled.functor
Interface NaryProcedure<E>

Type Parameters:
E - argument type

public interface NaryProcedure<E>

Typed functor that takes an arbitrary number of arguments of the same type and returns no value.

Version:
$Revision: 1059 $ $Date: 2012-01-03 14:03:02 -0600 (Tue, 03 Jan 2012) $
Author:
Michael Heuer

Method Summary
 void run(E... e)
          Execute this procedure with the specified arguments.
 

Method Detail

run

void run(E... e)
Execute this procedure with the specified arguments.

The arguments may be passed as an array

  p.run(new E[] { e0, e1, e2, e3 })
or as a sequence of arguments:
  p.run(e1, e2, e3, e4)

For more information on varargs, see
> http://java.sun.com/j2se/1.5.0/docs/guide/language/varargs.html

Parameters:
e - arbitrary number of arguments to this execution


Copyright (c) 2004-2012 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).