org.apache.commons.functor
Interface BinaryProcedure<L,R>

Type Parameters:
L - the left argument type.
R - the right argument type.
All Superinterfaces:
BinaryFunctor<L,R>, Functor
All Known Implementing Classes:
BinaryFunctionBinaryProcedure, BinarySequence, ConditionalBinaryProcedure, IgnoreLeftProcedure, IgnoreRightProcedure, InPlaceTransform, NoOp, RemoveMatching, RetainMatching, TransformedBinaryProcedure, TransposedProcedure

public interface BinaryProcedure<L,R>
extends BinaryFunctor<L,R>

A functor that takes two arguments and has no return value.

Implementors are encouraged but not required to make their functors Serializable.

Since:
1.0
Version:
$Revision: 1156736 $ $Date: 2011-08-11 20:58:28 +0200 (Thu, 11 Aug 2011) $
Author:
Rodney Waldhoff

Method Summary
 void run(L left, R right)
          Execute this procedure.
 
Methods inherited from interface org.apache.commons.functor.Functor
equals, hashCode, toString
 

Method Detail

run

void run(L left,
         R right)
Execute this procedure.

Parameters:
left - the L element of the ordered pair of arguments
right - the R element of the ordered pair of arguments


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.